mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-12-15 21:09:47 +01:00
Add deployment of presentation environment
This commit is contained in:
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
@@ -100,6 +100,22 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stage('Presentation Environment') {
|
||||||
|
when {
|
||||||
|
branch 'develop'
|
||||||
|
expression { return isBuildSuccess() }
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
script {
|
||||||
|
def imageVersion = readFile 'scm-packaging/docker/build/docker.tag'
|
||||||
|
|
||||||
|
build job: 'scm-manager/next-scm.cloudogu.com', propagate: false, wait: false, parameters: [
|
||||||
|
string(name: 'imageTag', value: imageVersion)
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('Push Tag') {
|
stage('Push Tag') {
|
||||||
when {
|
when {
|
||||||
branch pattern: 'release/*', comparator: 'GLOB'
|
branch pattern: 'release/*', comparator: 'GLOB'
|
||||||
|
|||||||
Reference in New Issue
Block a user