Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Commit

Permalink
Adding validation
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorhuol committed Mar 14, 2022
1 parent 961d352 commit 1bf2360
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Jenkinsfile.sonatype.post-release
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ node('ubuntu-zion') {
releaseNotes = params.releaseNotes
addIQReleaseNotesLink = params.addIQReleaseNotesLink

// Check mandatory parameters
if (!version) {
error 'The Plugin Version is a mandatory parameter!'
}

// Update display name
currentBuild.displayName = "#${currentBuild.number} - ${version}"
}
Expand Down

0 comments on commit 1bf2360

Please sign in to comment.