Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
khk-globus committed May 25, 2024
1 parent 21a9d56 commit 162b0c6
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions compute_endpoint/packaging/JenkinsFile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"


Expand Down

0 comments on commit 162b0c6

Please sign in to comment.