Skip to content

Commit 56a8e8d

Browse files
authored
[release]: skip executed stages (elastic#2261)
1 parent 5c39302 commit 56a8e8d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.ci/release/Jenkinsfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ pipeline {
9494
}
9595
}
9696
stage('Require confirmation that CHANGELOG.asciidoc has been updated') {
97+
when {
98+
expression { return false }
99+
}
97100
steps {
98101
input(message: """
99102
Update CHANGELOG.asciidoc to reflect the new version release:
@@ -109,6 +112,9 @@ pipeline {
109112
}
110113
}
111114
stage('Set release version') {
115+
when {
116+
expression { return false }
117+
}
112118
steps {
113119
dir("${BASE_DIR}"){
114120
script {
@@ -138,13 +144,19 @@ pipeline {
138144
}
139145
}
140146
stage('Wait on internal CI') {
147+
when {
148+
expression { return false }
149+
}
141150
steps {
142151
notifyStatus(slackStatus: 'warning', subject: "[${env.REPO}] Release ready to be pushed",
143152
body: "Please go to (<${env.BUILD_URL}input|here>) to approve or reject within 12 hours.")
144153
input(message: "Start the release job on the internal CI. Click 'Proceed' once the job has succeeded or click 'Abort' if the release has failed and then manually undo the release.")
145154
}
146155
}
147156
stage('Nexus release') {
157+
when {
158+
expression { return false }
159+
}
148160
steps {
149161
notifyStatus(slackStatus: 'warning', subject: "[${env.REPO}] Release ready to be published in Nexus",
150162
body: "Please go to (<https://oss.sonatype.org/|here>) to proceed with the manual nexus release. Login details in LastPass")

0 commit comments

Comments
 (0)