Unverified Commit 2ebabf56 authored by Keshav Prasad's avatar Keshav Prasad Committed by GitHub
Browse files

fix: revert slot 2 variables

No related merge requests found
Showing with 1 addition and 4 deletions
+1 -4
......@@ -16,10 +16,7 @@ def call() {
end = Date.parse("HH:mm:ss", env.END_TIME)
current = Date.parse("HH:mm:ss", current)
start1 = Date.parse("HH:mm:ss", env.START_TIME1)
end1 = Date.parse("HH:mm:ss", env.END_TIME1)
if ((current.after(start) || current.after(start1)) && (current.before(end) || current.before(end1))) {
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.automated_public_repo_branch) || !tag_name.contains("_RC")) {
......
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