diff --git a/Jenkinsfile b/Jenkinsfile index e76c039..82c6d3f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,7 +9,7 @@ pipeline { sh ''' docker version docker info - docker compose version + docker compose version ''' } } @@ -26,10 +26,18 @@ pipeline { sh 'docker compose ps' } } - stage('test dns') { + stage('Start secondary container') { + steps { + sh 'DOCKER_HOST="ssh://jenkins@pi502.in.thelinuxpro.net" docker compose up -d --no-color secondary' + sh 'DOCKER_HOST="ssh://jenkins@pi502.in.thelinuxpro.net" docker compose ps' + } + } + 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' } } }