update tests in jenkinsfile
This commit is contained in:
parent
342e62239b
commit
fd82bd7e9b
|
@ -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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue