This commit is contained in:
Kameron Kenny - pi501 2024-12-19 16:21:18 -05:00
parent 59020ad9bd
commit 730b6ada95
2 changed files with 1 additions and 12 deletions

1
Jenkinsfile vendored
View File

@ -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'
}

View File

@ -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}"
}