diff --git a/Jenkinsfile b/Jenkinsfile index 8c6686b..42b5527 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -104,10 +104,12 @@ pipeline { stage('Integration Tests') { steps { - sh 'mkdir -p test/results/integration' - sh 'bats -F junit --gather-test-outputs-in test/results/integration test/integration/dns/thelinux.pro/*.bat test/integration/dns/thelinux.pro/**/*.bat' - sh 'bats -F junit --gather-test-outputs-in test/results/integration test/integration/dns/kameronkenny.com/*.bat test/integration/dns/kameronkenny.com/**/*.bat' - 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 'mkdir -p test/results/integration/thelinux.pro' + sh 'mkdir -p test/results/integration/kameronkenny.com' + sh 'mkdir -p test/results/integration/in.thelinuxpro.net' + 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 { always { archiveArtifacts artifacts: 'test/results/**/*.xml', fingerprint: true - junit 'test/results/**/*.xml' + junit 'test/results/**/**/*.xml' sh 'rm -rf test/results' } }