Commit e8339f7f1d5695ca11a8727367da4bdf34cf1977
1 parent
8ace969896
Exists in
master
and in
4 other branches
Show external IP on each stage
Showing 1 changed file with 3 additions and 0 deletions
kea_testing.groovy
View file @
e8339f7
... | ... | @@ -22,6 +22,7 @@ |
22 | 22 | |
23 | 23 | stage('Checkout the source code') { |
24 | 24 | steps { |
25 | + sh 'curl -s icanhazip.com' | |
25 | 26 | checkout scm |
26 | 27 | } |
27 | 28 | } |
... | ... | @@ -32,6 +33,7 @@ |
32 | 33 | script { |
33 | 34 | docker.withServer("$DEPLOYMENT_HOST", "$DEPLOYMENT_HOST_CREDENTIALS") { |
34 | 35 | docker.withRegistry("$PRIVATE_REGISTRY" , 'artifactory') { |
36 | + sh 'curl -s icanhazip.com' | |
35 | 37 | sh 'hostname;pwd;ls -lR' |
36 | 38 | echo 'Deploying the specified Docker containers in DEV server' |
37 | 39 | sh 'sh deploy.sh' |
... | ... | @@ -43,6 +45,7 @@ |
43 | 45 | |
44 | 46 | stage('Run tests') { |
45 | 47 | steps { |
48 | + sh 'curl -s icanhazip.com' | |
46 | 49 | script { |
47 | 50 | echo '*************' |
48 | 51 | echo '*** TESTS ***' |