update tests in jenkinsfile

This commit is contained in:
Kameron Kenny 2024-12-20 15:18:44 -05:00
parent 342e62239b
commit fd82bd7e9b
1 changed files with 4 additions and 4 deletions

8
Jenkinsfile vendored
View File

@ -105,16 +105,16 @@ pipeline {
stage('Integration Tests') { stage('Integration Tests') {
steps { steps {
sh 'rm -rf test/results' sh 'rm -rf test/results'
sh 'mkdir -p test/results/integration/dns' sh 'mkdir -p test/results/integration
sh 'bats -F junit --gather-test-outputs-in test/results/integration/dns test/integration/dns/**/*.bat test/integration/dns/**/**/*.bat' sh 'bats -F junit test/integration/dns/**/*.bat test/integration/dns/**/**/*.bat > test/results/integration/dns.xml'
} }
} }
} }
post { post {
always { always {
archiveArtifacts artifacts: '**/*.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'
} }
} }