Jenkinsfile fixes
gitea/hedera-web/pipeline/head There was a failure building this commit
Details
gitea/hedera-web/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
2d12be21cb
commit
8ec889a9f7
|
@ -28,9 +28,11 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage('Package') {
|
stage('Package') {
|
||||||
when {
|
when {
|
||||||
|
anyOf {
|
||||||
branch 'master'
|
branch 'master'
|
||||||
branch 'test'
|
branch 'test'
|
||||||
}
|
}
|
||||||
|
}
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
image 'registry.verdnatura.es/vn-debuild'
|
image 'registry.verdnatura.es/vn-debuild'
|
||||||
|
@ -46,9 +48,11 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
when {
|
when {
|
||||||
|
anyOf {
|
||||||
branch 'master'
|
branch 'master'
|
||||||
branch 'test'
|
branch 'test'
|
||||||
}
|
}
|
||||||
|
}
|
||||||
environment {
|
environment {
|
||||||
CREDS = credentials('docker-registry')
|
CREDS = credentials('docker-registry')
|
||||||
}
|
}
|
||||||
|
@ -60,9 +64,11 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
when {
|
when {
|
||||||
|
anyOf {
|
||||||
branch 'master'
|
branch 'master'
|
||||||
branch 'test'
|
branch 'test'
|
||||||
}
|
}
|
||||||
|
}
|
||||||
environment {
|
environment {
|
||||||
DOCKER_HOST = "${env.SWARM_HOST}"
|
DOCKER_HOST = "${env.SWARM_HOST}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue