Unverified Commit 5a676bf9 authored by Keshav Prasad's avatar Keshav Prasad Committed by GitHub
Browse files

fix: use automated_public_repo_branch instead of public_repo_branch

No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
......@@ -19,8 +19,8 @@ def call() {
if (current.after(start) && current.before(end)) {
println ANSI_BOLD + ANSI_GREEN + "Tigger is in the deployment window.. Check if tag matches our pattern.." + ANSI_NORMAL
tag_name = env.JOB_NAME.split("/")[-1]
if (!tag_name.contains(env.public_repo_branch) || !tag_name.contains("_RC")) {
println(ANSI_BOLD + ANSI_RED + "Error.. Tag does not contain " + env.public_repo_branch + " or is not a RC tag" + ANSI_NORMAL)
if (!tag_name.contains(env.automated_public_repo_branch) || !tag_name.contains("_RC")) {
println(ANSI_BOLD + ANSI_RED + "Error.. Tag does not contain " + env.automated_public_repo_branch + " or is not a RC tag" + ANSI_NORMAL)
error "Oh ho! Tag is not a release candidate.. Skipping build"
}
else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment