qa
BOT_open_sesam/pipeline/head There was a failure building this commit
Details
BOT_open_sesam/pipeline/head There was a failure building this commit
Details
parent
54afe573c1
commit
2b43532a8f
|
|
@ -17,7 +17,6 @@ pipeline {
|
||||||
docker.withRegistry("${REGISTRY_URL}", 'jenkins_harbor') {
|
docker.withRegistry("${REGISTRY_URL}", 'jenkins_harbor') {
|
||||||
def BotImage = docker.build(
|
def BotImage = docker.build(
|
||||||
"${REGISTRY_URL}/${BOT_IMAGE_NAME}:${BOT_IMAGE_TAG}"
|
"${REGISTRY_URL}/${BOT_IMAGE_NAME}:${BOT_IMAGE_TAG}"
|
||||||
"-f ./tunnel/Dockerfile.tunnel ."
|
|
||||||
)
|
)
|
||||||
BotImage.push()
|
BotImage.push()
|
||||||
}
|
}
|
||||||
|
|
@ -26,17 +25,18 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage ('build tunnel image and push') {
|
stage ('build tunnel image and push') {
|
||||||
steps {
|
steps {
|
||||||
|
dir('tunnel'){
|
||||||
script {
|
script {
|
||||||
docker.withRegistry("${REGISTRY_URL}", 'jenkins_harbor') {
|
docker.withRegistry("${REGISTRY_URL}", 'jenkins_harbor') {
|
||||||
def TunnelImage = docker.build(
|
def TunnelImage = docker.build(
|
||||||
"${REGISTRY}/${TUNNEL_IMAGE_NAME}:${TUNNEL_IMAGE_TAG}",
|
"${REGISTRY}/${TUNNEL_IMAGE_NAME}:${TUNNEL_IMAGE_TAG}"
|
||||||
"-f ./tunnel/Dockerfile.tunnel ."
|
|
||||||
)
|
)
|
||||||
TunnelImage.push()
|
TunnelImage.push()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage ('clear after build and push') {
|
stage ('clear after build and push') {
|
||||||
steps {
|
steps {
|
||||||
|
|
@ -65,6 +65,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue