From fd82bd7e9b1e608649ecb0b8a46fba5b24d8da2e Mon Sep 17 00:00:00 2001 From: Kameron Kenny Date: Fri, 20 Dec 2024 15:18:44 -0500 Subject: [PATCH] update tests in jenkinsfile --- Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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' } }