updates
This commit is contained in:
parent
59020ad9bd
commit
730b6ada95
|
@ -105,6 +105,7 @@ pipeline {
|
||||||
stage('Integration Tests') {
|
stage('Integration Tests') {
|
||||||
steps {
|
steps {
|
||||||
sh 'mkdir -p test/results/integration'
|
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/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'
|
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'
|
||||||
}
|
}
|
||||||
|
|
|
@ -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}"
|
|
||||||
}
|
|
Loading…
Reference in New Issue