未验证 提交 9314822f 编写于 作者: R Ryan Dawson 提交者: GitHub

7.0.x release train

上级 614d04f2
......@@ -8,31 +8,14 @@ pipeline {
CHARTMUSEUM_CREDS = credentials('jenkins-x-chartmuseum')
}
stages {
stage('CI Build and push snapshot') {
when {
branch 'PR-*'
}
environment {
PREVIEW_VERSION = "0.0.0-SNAPSHOT-$BRANCH_NAME-$BUILD_NUMBER"
PREVIEW_NAMESPACE = "$APP_NAME-$BRANCH_NAME".toLowerCase()
HELM_RELEASE = "$PREVIEW_NAMESPACE".toLowerCase()
}
steps {
container('maven') {
sh "mvn versions:set -DnewVersion=$PREVIEW_VERSION"
sh "mvn install"
}
}
}
stage('Build Release') {
when {
branch 'develop'
branch '7.0.x'
}
steps {
container('maven') {
// ensure we're not on a detached head
sh "git checkout develop"
sh "git checkout 7.0.x"
sh "git config --global credential.helper store"
sh "jx step git credentials"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册