Skip to content

Commit

Permalink
Exclude helm tags
Browse files Browse the repository at this point in the history
Signed-off-by: Prudhvi Godithi <[email protected]>
  • Loading branch information
prudhvigodithi committed Nov 5, 2024
1 parent 5e786e7 commit 40d63e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jenkins/release.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ pipeline {
currentBuild.description = """User/Timer: <a href="${ref_url}">${ref_url}</a>"""
}

if (ref_final == null || ref_final == '') {

if (ref_final == null || ref_final == '' || ref_final.startsWith('opensearch-operator') || ref_final.startsWith('opensearch-cluster')) { {
currentBuild.result = 'ABORTED'
error("Missing git tag reference.")
}
Expand Down

0 comments on commit 40d63e7

Please sign in to comment.