Improved output of build docker image pipeline
Change-Id: I0606606bf1a0af8d4451a4f3db60875249ff15da
diff --git a/docker-build-image-pipeline.groovy b/docker-build-image-pipeline.groovy
index 65bf1d0..d456db2 100644
--- a/docker-build-image-pipeline.groovy
+++ b/docker-build-image-pipeline.groovy
@@ -24,6 +24,7 @@
gerrit.gerritPatchsetCheckout(IMAGE_GIT_URL, "", IMAGE_BRANCH, IMAGE_CREDENTIALS_ID)
}
stage("build") {
+ common.infoMsg("Building docker image ${IMAGE_NAME}")
dockerApp = dockerLib.buildDockerImage(IMAGE_NAME, "", "${workspace}/${DOCKERFILE_PATH}", imageTagsList[0])
if(!dockerApp){
throw new Exception("Docker build image failed")
@@ -31,6 +32,7 @@
}
stage("upload to docker hub"){
for(int i=0;i<imageTagsList.size();i++){
+ common.infoMsg("Uploading image ${IMAGE_NAME} with tag ${imageTagsList[i]}")
dockerApp.push(imageTagsList[i])
}
}