diff --git a/jenkins/release.jenkinsfile b/jenkins/release.jenkinsfile index c57141c8..04b91847 100644 --- a/jenkins/release.jenkinsfile +++ b/jenkins/release.jenkinsfile @@ -66,7 +66,8 @@ pipeline { currentBuild.description = """User/Timer: ${ref_url}""" } - 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.") }