update tests and try '--gather-test-outputs-in' for results output instead of redirection.
This commit is contained in:
parent
3614192158
commit
24bba9c4fa
|
@ -104,10 +104,12 @@ pipeline {
|
||||||
|
|
||||||
stage('Integration Tests') {
|
stage('Integration Tests') {
|
||||||
steps {
|
steps {
|
||||||
sh 'mkdir -p test/results/integration'
|
sh 'mkdir -p test/results/integration/thelinux.pro'
|
||||||
sh 'bats -F junit --gather-test-outputs-in test/results/integration test/integration/dns/thelinux.pro/*.bat test/integration/dns/thelinux.pro/**/*.bat'
|
sh 'mkdir -p test/results/integration/kameronkenny.com'
|
||||||
sh 'bats -F junit --gather-test-outputs-in test/results/integration test/integration/dns/kameronkenny.com/*.bat test/integration/dns/kameronkenny.com/**/*.bat'
|
sh 'mkdir -p test/results/integration/in.thelinuxpro.net'
|
||||||
sh 'bats -F junit --gather-test-outputs-in test/results/integration test/integration/dns/in.thelinuxpro.net/*.bat test/integration/dns/in.thelinuxpro.net/**/*.bat'
|
sh 'bats -F junit --gather-test-outputs-in test/results/integration/thelinux.pro test/integration/dns/thelinux.pro/*.bat test/integration/dns/thelinux.pro/**/*.bat'
|
||||||
|
sh 'bats -F junit --gather-test-outputs-in test/results/integration/kameronkenny.com test/integration/dns/kameronkenny.com/*.bat test/integration/dns/kameronkenny.com/**/*.bat'
|
||||||
|
sh 'bats -F junit --gather-test-outputs-in test/results/integration/in.thelinuxpro.net test/integration/dns/in.thelinuxpro.net/*.bat test/integration/dns/in.thelinuxpro.net/**/*.bat'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -115,7 +117,7 @@ pipeline {
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
archiveArtifacts artifacts: 'test/results/**/*.xml', fingerprint: true
|
archiveArtifacts artifacts: 'test/results/**/*.xml', fingerprint: true
|
||||||
junit 'test/results/**/*.xml'
|
junit 'test/results/**/**/*.xml'
|
||||||
sh 'rm -rf test/results'
|
sh 'rm -rf test/results'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue