diff --git a/Jenkinsfile b/Jenkinsfile index e54fadd..1166b8e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -105,16 +105,16 @@ pipeline { stage('Integration Tests') { steps { sh 'rm -rf test/results' - sh 'mkdir -p test/results/integration/dns' - sh 'bats -F junit --gather-test-outputs-in test/results/integration/dns test/integration/dns/**/*.bat test/integration/dns/**/**/*.bat' + sh 'mkdir -p test/results/integration + sh 'bats -F junit test/integration/dns/**/*.bat test/integration/dns/**/**/*.bat > test/results/integration/dns.xml' } } } post { always { - archiveArtifacts artifacts: '**/*.xml', fingerprint: true - junit 'test/results/**/**/*.xml' + archiveArtifacts artifacts: 'test/results/**/*.xml', fingerprint: true + junit 'test/results/**/*.xml' sh 'rm -rf test/results' } }