Skip to content

Commit

Permalink
Debug Jenkinsfile
Browse files Browse the repository at this point in the history
Signed-off-by: Leonard Carcaramo <lcarcaramo@ibm.com>
  • Loading branch information
lcarcaramo committed Sep 1, 2023
1 parent 79e247a commit 607c2c3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pipeline {
description: "Toggle whether or not to create a release from this revision."
)
string {
name:"releaseTag",
name: "release",
defaultValue: "",
description: "When creating a new release, this will be the git tag and version number of the release.",
}
Expand Down Expand Up @@ -61,8 +61,8 @@ pipeline {
steps {
script {
if (params.createRelease) {
if (params.releaseTag == "") {
error("'releaseTag' is required when creating a release.")
if (params.release == "") {
error("'release' is required when creating a release.")
}
if (params.gitHubMilestoneLink) {
error("'gitHubMilestoneLink' is required when creating a release.")
Expand Down Expand Up @@ -92,7 +92,7 @@ pipeline {
}
steps {
publish(
params.releaseTag,
params.release,
env.BRANCH_NAME,
params.gitHubMilestoneLink,
params.preRelease,
Expand Down

0 comments on commit 607c2c3

Please sign in to comment.