diff --git a/Jenkinsfile b/Jenkinsfile index 30a6929..0af144d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -105,6 +105,7 @@ 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' } diff --git a/test/integration/dns/kameronkenny.com/photos/cname.bat b/test/integration/dns/kameronkenny.com/photos/cname.bat deleted file mode 100644 index 673b05c..0000000 --- a/test/integration/dns/kameronkenny.com/photos/cname.bat +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bats - -load 'local-setup' -_local_setup - -load 'helper' - - -@test "Test CNAME Record: ${domain}" { - run dig -t CNAME ${domain} +noall +answer - assert_output --partial "${cname}" -}