release: disabling steps to complete release 1.34.0
@@ -18,6 +18,10 @@ pipeline {
BRANCH_SPECIFIER = "${params.branch_specifier}"
SUFFIX_ARN_FILE = 'arn-file.md'
JOB_GCS_CREDENTIALS = 'internal-ci-gcs-plugin'
+ RELEASE_AWS_LAMBDA_VERSION = '-ver-1-34-0'
+ RELEASE_VERSION = '1.34.0'
+ RELEASE_TAG = "v1.34.0"
+ BRANCH_DOT_X = '1.x'
RELEASE_URL = "https://github.com/elastic/${env.REPO}/releases/tag"
}
options {
@@ -67,6 +71,9 @@ 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}"){
@@ -84,6 +91,7 @@ pipeline {
allOf {
expression { params.check_branch_ci_status }
expression { env.BRANCH_SPECIFIER != 'stable' }
+ expression { return false }
}
}
steps {
@@ -96,6 +104,9 @@ 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:
@@ -111,6 +122,9 @@ pipeline {
}
}
stage('Set release version') {
+ when {
+ expression { return false }
+ }
steps {
dir("${BASE_DIR}"){
script {
@@ -142,6 +156,9 @@ pipeline {
}
}
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.")
@@ -149,6 +166,9 @@ 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")
@@ -156,6 +176,9 @@ pipeline {
}
}
stage('Major Branch create/update') {
+ when {
+ expression { return false }
+ }
steps {
dir("${BASE_DIR}") {
script {
@@ -173,6 +196,7 @@ pipeline {
stage('Publish AWS Lambda') {
when {
expression { params.publish_aws_lambda }
+ expression { return false }
}
environment {
SOURCE_AWS_FILE = "elastic-apm-java-aws-lambda-layer-${RELEASE_VERSION}.zip"
@@ -200,6 +224,9 @@ pipeline {
}
}
stage('Create GitHub release draft') {
+ when {
+ expression { return false }
+ }
steps {
dir("${BASE_DIR}"){
script {
@@ -221,6 +248,9 @@ pipeline {
}
}
stage('Wait for artifact to be available in Maven Central') {
+ when {
+ expression { return false }
+ }
steps {
dir("${BASE_DIR}"){
script {
