[release] temporary disable steps + fix doc update
@@ -64,6 +64,7 @@ pipeline {
options { skipDefaultCheckout () }
stages{
stage('Check oss.sonatype.org') {
+ when {expression { return false }}
steps {
// If this fails, an exception should be thrown and execution will halt
dir("${BASE_DIR}"){
@@ -79,6 +80,7 @@ pipeline {
stage('Check build status') {
when {
allOf {
+ expression { return false }
expression { params.check_branch_ci_status }
expression { env.BRANCH_SPECIFIER != 'stable' }
}
@@ -93,6 +95,7 @@ pipeline {
}
}
stage('Require confirmation that CHANGELOG.asciidoc has been updated') {
+ when {expression { return false }}
steps {
input(message: """
Update CHANGELOG.asciidoc to reflect the new version release:
@@ -136,25 +139,8 @@ pipeline {
}
}
}
- stage('Set release version manually') {
- steps {
- dir("${BASE_DIR}"){
- script {
- def user_release_version = input(message: "Please enter version to release:", parameters: [[
- $class: 'StringParameterDefinition',
- name: 'Release version',
- defaultValue: "",
- description: "Input release version without '-SNAPSHOT' suffix"
- ]])
-
- env.RELEASE_TAG = "v" + user_release_version
- env.RELEASE_VERSION = user_release_version
- env.BRANCH_DOT_X = user_release_version.substring(0, user_release_version.indexOf('.'))+'.x'
- }
- }
- }
- }
stage('Wait on internal CI') {
+ when {expression { return false }}
steps {
notifyStatus(slackStatus: 'warning', subject: "[${env.REPO}] Release ready to be pushed",
body: "Please go to (<${env.BUILD_URL}input|here>) to approve or reject within 12 hours.")
@@ -162,6 +148,7 @@ pipeline {
}
}
stage('Nexus release') {
+ when {expression { return false }}
steps {
notifyStatus(slackStatus: 'warning', subject: "[${env.REPO}] Release ready to be published in Nexus",
body: "Please go to (<https://oss.sonatype.org/|here>) to proceed with the manual nexus release. Login details in LastPass")
@@ -189,7 +176,7 @@ pipeline {
git fetch origin ${RELEASE_TAG}""")
sh(label: "force-update .x branch from ${RELEASE_TAG}", script: """
git checkout --track origin/${BRANCH_DOT_X} --force
- git reset --hard ${RELEASE_TAG}""")
+ git reset --hard origin/${RELEASE_TAG}""")
gitPush(args: "-f ${BRANCH_DOT_X}")
}
}
