update test step

This commit is contained in:
Kameron Kenny - pi501 2024-12-19 14:48:54 -05:00
parent 917e0b8ed0
commit 8cec06fd12
1 changed files with 1 additions and 35 deletions

36
Jenkinsfile vendored
View File

@ -105,41 +105,7 @@ pipeline {
stage('Integration Tests') {
steps {
sh 'mkdir -p test/results/integration'
sh 'bats -F junit test/integration/dns.bat > test/results/integration/TEST-Integration-dns.xml'
}
}
stage('test primary dns') {
steps {
sh 'dig ns1.thelinuxpro.net ANY @204.8.15.80'
sh 'dig ns1.in.thelinuxpro.net ANY @10.99.153.241'
sh 'dig ns1.thelinuxpro.net ANY @204.8.15.81'
sh 'dig ns1.in.thelinuxpro.net ANY @10.99.153.242'
sh 'dig kameronkenny.com @204.8.15.80 a'
sh 'dig kameronkenny.com @10.99.153.241 a'
sh 'dig kameronkenny.com @204.8.15.81 a'
sh 'dig kameronkenny.com @10.99.153.242 a'
sh 'dig git.thelinuxpro.net @204.8.15.80 a'
sh 'dig git.thelinuxpro.net @10.99.153.241 a'
sh 'dig git.thelinuxpro.net @204.8.15.81 a'
sh 'dig git.thelinuxpro.net @10.99.153.242 a'
}
}
stage('verify SOA serial') {
steps {
sh 'dig +multi ns1.thelinuxpro.net ANY @204.8.15.80 soa'
sh 'dig +multi ns1.in.thelinuxpro.net ANY @10.99.153.241 soa'
sh 'dig +multi ns1.thelinuxpro.net ANY @204.8.15.81 soa'
sh 'dig +multi ns1.in.thelinuxpro.net ANY @10.99.153.242 soa'
sh 'dig +multi kameronkenny.com @204.8.15.80 soa'
sh 'dig +multi kameronkenny.com @10.99.153.241 soa'
sh 'dig +multi kameronkenny.com @204.8.15.81 soa'
sh 'dig +multi kameronkenny.com @10.99.153.242 soa'
sh 'dig +multi git.thelinuxpro.net @204.8.15.80 soa'
sh 'dig +multi git.thelinuxpro.net @10.99.153.241 soa'
sh 'dig +multi git.thelinuxpro.net @204.8.15.81 soa'
sh 'dig +multi git.thelinuxpro.net @10.99.153.242 soa'
sh 'bats -F junit test/integration/dns/**/*.bat test/integration/dns/**/**/*.bat > test/results/integration/TEST-Integration-dns.xml'
}
}
}