diff --git a/Jenkinsfile b/Jenkinsfile index 23abdcb..b9d31ba 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -34,23 +34,23 @@ pipeline { } } } -# stage ('build tunnel image and push') { -# steps { -# dir('tunnel'){ -# script { -# docker.withRegistry("${REGISTRY_URL}", 'jenkins_harbor') { -# def TunnelImage = docker.build( -# "${REGISTRY}/${TUNNEL_IMAGE_NAME}:${env.BUILD_NUMBER}", -# "--label build_number=${IMAGE_TAG} " + -# "--label git_commit=${env.GIT_COMMIT} " + -# "." -# ) -# TunnelImage.push() -# } -# } -# } -# } -# } +// stage ('build tunnel image and push') { +// steps { +// dir('tunnel'){ +// script { +// docker.withRegistry("${REGISTRY_URL}", 'jenkins_harbor') { +// def TunnelImage = docker.build( +// "${REGISTRY}/${TUNNEL_IMAGE_NAME}:${env.BUILD_NUMBER}", +// "--label build_number=${IMAGE_TAG} " + +// "--label git_commit=${env.GIT_COMMIT} " + +// "." +// ) +// TunnelImage.push() +// } +// } +// } +// } +// } stage ('clear after build and push') { steps {