run merge-unit-results using python3 (#60466)
This commit is contained in:
parent
c250740099
commit
b3de7673f4
|
@ -3,7 +3,7 @@ def request = libraryResource 'com/mycorp/pipeline/somelib/request.json'
|
|||
def call() {
|
||||
tmpdir = env.TMPDIR ? env.TMPDIR : '.'
|
||||
writeFile file:"${tmpdir}/merge-junit-results.py", text: libraryResource('merge-junit-results.py')
|
||||
sh "python ${tmpdir}/merge-junit-results.py junit-*.xml >junit.xml"
|
||||
sh "python3 ${tmpdir}/merge-junit-results.py junit-*.xml >junit.xml"
|
||||
sh 'rm junit-*.xml'
|
||||
junit 'junit.xml'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue