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,8 +28,10 @@ pipeline {
|
|||
}
|
||||
stage('Package') {
|
||||
when {
|
||||
branch 'master'
|
||||
branch 'test'
|
||||
anyOf {
|
||||
branch 'master'
|
||||
branch 'test'
|
||||
}
|
||||
}
|
||||
agent {
|
||||
docker {
|
||||
|
@ -46,8 +48,10 @@ pipeline {
|
|||
}
|
||||
stage('Build') {
|
||||
when {
|
||||
branch 'master'
|
||||
branch 'test'
|
||||
anyOf {
|
||||
branch 'master'
|
||||
branch 'test'
|
||||
}
|
||||
}
|
||||
environment {
|
||||
CREDS = credentials('docker-registry')
|
||||
|
@ -60,8 +64,10 @@ pipeline {
|
|||
}
|
||||
stage('Deploy') {
|
||||
when {
|
||||
branch 'master'
|
||||
branch 'test'
|
||||
anyOf {
|
||||
branch 'master'
|
||||
branch 'test'
|
||||
}
|
||||
}
|
||||
environment {
|
||||
DOCKER_HOST = "${env.SWARM_HOST}"
|
||||
|
|
Loading…
Reference in New Issue