From e8339f7f1d5695ca11a8727367da4bdf34cf1977 Mon Sep 17 00:00:00 2001 From: George Vlahavas Date: Tue, 23 Mar 2021 21:59:20 +0200 Subject: [PATCH] Show external IP on each stage --- kea_testing.groovy | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kea_testing.groovy b/kea_testing.groovy index 627fe49..b8c6641 100644 --- a/kea_testing.groovy +++ b/kea_testing.groovy @@ -22,6 +22,7 @@ pipeline { stage('Checkout the source code') { steps { + sh 'curl -s icanhazip.com' checkout scm } } @@ -32,6 +33,7 @@ pipeline { script { docker.withServer("$DEPLOYMENT_HOST", "$DEPLOYMENT_HOST_CREDENTIALS") { docker.withRegistry("$PRIVATE_REGISTRY" , 'artifactory') { + sh 'curl -s icanhazip.com' sh 'hostname;pwd;ls -lR' echo 'Deploying the specified Docker containers in DEV server' sh 'sh deploy.sh' @@ -43,6 +45,7 @@ pipeline { stage('Run tests') { steps { + sh 'curl -s icanhazip.com' script { echo '*************' echo '*** TESTS ***' -- 2.2.2