From d5ff2f7bfa22d98e6075ade60a7cb8c4d5bb95e5 Mon Sep 17 00:00:00 2001 From: Kameron Kenny - pi501 Date: Fri, 27 Dec 2024 10:17:47 -0500 Subject: [PATCH] jenkins --- Jenkinsfile | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3414bf8..963d4c4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -64,22 +64,23 @@ pipeline { } } -# stage('Integration Tests') { -# steps { -# sh 'mkdir -p test/results/integration' -# sh 'bats -F junit test/integration/dns/thelinux.pro/*.bat test/integration/dns/thelinux.pro/**/*.bat > test/results/integration/TEST-Integration-dns-thelinux_pro.xml' -# sh 'bats -F junit test/integration/dns/kameronkenny.com/*.bat test/integration/dns/kameronkenny.com/**/*.bat > test/results/integration/TEST-Integration-dns-kameronkenny_com.xml' -# sh 'bats -F junit test/integration/dns/in.thelinuxpro.net/*.bat test/integration/dns/in.thelinuxpro.net/**/*.bat > test/results/integration/TEST-Integration-dns-in_thelinuxpro_net.xml' -# } -# } -# } - -# post { -# always { -# archiveArtifacts artifacts: 'test/results/**/*.xml', fingerprint: true -# junit 'test/results/**/*.xml' -# sh 'rm -rf test/results' -# } -# } -#} +/* + stage('Integration Tests') { + steps { + sh 'mkdir -p test/results/integration' + sh 'bats -F junit test/integration/dns/thelinux.pro/*.bat test/integration/dns/thelinux.pro/**/*.bat > test/results/integration/TEST-Integration-dns-thelinux_pro.xml' + sh 'bats -F junit test/integration/dns/kameronkenny.com/*.bat test/integration/dns/kameronkenny.com/**/*.bat > test/results/integration/TEST-Integration-dns-kameronkenny_com.xml' + sh 'bats -F junit test/integration/dns/in.thelinuxpro.net/*.bat test/integration/dns/in.thelinuxpro.net/**/*.bat > test/results/integration/TEST-Integration-dns-in_thelinuxpro_net.xml' + } + } + } + post { + always { + archiveArtifacts artifacts: 'test/results/**/*.xml', fingerprint: true + junit 'test/results/**/*.xml' + sh 'rm -rf test/results' + } + } +} +*/