From 162b0c6bf75696a1cf846efe4869cf3f19387cac Mon Sep 17 00:00:00 2001 From: Kevin Hunter Kesling Date: Fri, 24 May 2024 22:27:50 -0400 Subject: [PATCH] wip --- compute_endpoint/packaging/JenkinsFile | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/compute_endpoint/packaging/JenkinsFile b/compute_endpoint/packaging/JenkinsFile index e939540a6..6d5298c0b 100644 --- a/compute_endpoint/packaging/JenkinsFile +++ b/compute_endpoint/packaging/JenkinsFile @@ -57,6 +57,10 @@ pipeline { def branch_name = getBranchName() def default_branch = getDefaultBranch() def tag = getTag() + def non_default_branch_name="" + def publish_to_unstable = false + def publish_to_testing = false + def publish_to_stable = false if (branch_name != null && !pull) { // If this is a tag, then Jenkins sets BRANCH_NAME to the tag, // so we need to figure out if this is tag is actually part of @@ -95,19 +99,19 @@ pipeline { publish_to_stable = true } } + echo "pull = ${pull}" + echo "epic = ${epic}" + echo "branch_name = ${branch_name}" + echo "default_branch = ${default_branch}" + echo "tag = ${tag}" + echo "branch_name_is_a_tag = ${branch_name_is_a_tag}" + echo "tag_is_on_default_branch = ${tag_is_on_default_branch}" + echo "---------------" + echo "publish_to_unstable = ${publish_to_unstable}" + echo "publish_to_testing = ${publish_to_testing}" + echo "publish_to_stable = ${publish_to_stable}" } - echo "pull = ${pull}" - echo "epic = ${epic}" - echo "branch_name = ${branch_name}" - echo "default_branch = ${default_branch}" - echo "tag = ${tag}" - echo "branch_name_is_a_tag = ${branch_name_is_a_tag}" - echo "tag_is_on_default_branch = ${tag_is_on_default_branch}" - echo "---------------" - echo "publish_to_unstable = ${publish_to_unstable}" - echo "publish_to_testing = ${publish_to_testing}" - echo "publish_to_stable = ${publish_to_stable}" sh "/bin/false"