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
|
|
@ -13,26 +13,26 @@ pipeline {
|
||||||
|
|
||||||
stage ('build bot image and push') {
|
stage ('build bot image and push') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
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()
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
stage ('build tunnel image and push') {
|
stage ('build tunnel image and push') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
dir('tunnel'){
|
||||||
docker.withRegistry("${REGISTRY_URL}", 'jenkins_harbor') {
|
script {
|
||||||
def TunnelImage = docker.build(
|
docker.withRegistry("${REGISTRY_URL}", 'jenkins_harbor') {
|
||||||
"${REGISTRY}/${TUNNEL_IMAGE_NAME}:${TUNNEL_IMAGE_TAG}",
|
def TunnelImage = docker.build(
|
||||||
"-f ./tunnel/Dockerfile.tunnel ."
|
"${REGISTRY}/${TUNNEL_IMAGE_NAME}:${TUNNEL_IMAGE_TAG}"
|
||||||
)
|
)
|
||||||
TunnelImage.push()
|
TunnelImage.push()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -64,6 +64,7 @@ pipeline {
|
||||||
echo "Ошибка сборки!"
|
echo "Ошибка сборки!"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue