Skip to content
Snippets Groups Projects
Commit a926e7a1 authored by OZGCloud's avatar OZGCloud
Browse files

adjust Jenkinsfile to release hotfix

parent 7298c120
Branches
Tags
No related merge requests found
...@@ -36,7 +36,7 @@ pipeline { ...@@ -36,7 +36,7 @@ pipeline {
def xtaAdapterVersion = getParentPomVersion('xta-adapter/pom.xml') def xtaAdapterVersion = getParentPomVersion('xta-adapter/pom.xml')
def enterpriseAdapterVersion = getParentPomVersion('enterprise-adapter/pom.xml') def enterpriseAdapterVersion = getParentPomVersion('enterprise-adapter/pom.xml')
if(env.BRANCH_NAME == 'release'){ if(env.BRANCH_NAME == 'release' || env.BRANCH_NAME == 'release-2.0.1')
if ( !isReleaseVersion([rootVersion, vorgangManagerVersion, commonVersion, routerVersion, ifAdapterVersion, fsAdapterVersion, formCycleAdapterVersion, xtaAdapterVersion, enterpriseAdapterVersion])) { if ( !isReleaseVersion([rootVersion, vorgangManagerVersion, commonVersion, routerVersion, ifAdapterVersion, fsAdapterVersion, formCycleAdapterVersion, xtaAdapterVersion, enterpriseAdapterVersion])) {
error("Keine Release Version für Branch ${env.BRANCH_NAME}.") error("Keine Release Version für Branch ${env.BRANCH_NAME}.")
} }
...@@ -86,6 +86,7 @@ pipeline { ...@@ -86,6 +86,7 @@ pipeline {
anyOf { anyOf {
branch 'master' branch 'master'
branch 'release' branch 'release'
branch 'release-2.0.1'
} }
} }
steps { steps {
...@@ -117,7 +118,7 @@ pipeline { ...@@ -117,7 +118,7 @@ pipeline {
tagAndPushDockerImage('xta-adapter', 'snapshot-latest') tagAndPushDockerImage('xta-adapter', 'snapshot-latest')
tagAndPushDockerImage('enterprise-adapter', 'snapshot-latest') tagAndPushDockerImage('enterprise-adapter', 'snapshot-latest')
} }
else if (env.BRANCH_NAME == 'release') { else if (env.BRANCH_NAME == 'release' || env.BRANCH_NAME == 'release-2.0.1') {
tagAndPushDockerImage('intelliform-adapter', 'latest') tagAndPushDockerImage('intelliform-adapter', 'latest')
tagAndPushDockerImage('formsolutions-adapter', 'latest') tagAndPushDockerImage('formsolutions-adapter', 'latest')
tagAndPushDockerImage('formcycle-adapter', 'latest') tagAndPushDockerImage('formcycle-adapter', 'latest')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment