diff options
author | Matt Rendina <rendinam@users.noreply.github.com> | 2018-05-02 17:17:01 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-02 17:17:01 -0400 |
commit | 8224c5ba3d86a5761b92afab6139f099b4e0c0d4 (patch) | |
tree | f75ac0d0bae42c2543ac0412e517d41d51ccdb74 /jenkins/dispatch.groovy | |
parent | 9c854acaf7c886d7c27876057e74e822e475bebc (diff) | |
parent | 56a8510b6c913803aa0bcef448d3b912e63a29fe (diff) | |
download | build_control-8224c5ba3d86a5761b92afab6139f099b4e0c0d4.tar.gz |
Merge pull request #65 from rendinam/rambo_select
Add git ref parameter and checkout logic for obtaining build support utility.
Diffstat (limited to 'jenkins/dispatch.groovy')
-rw-r--r-- | jenkins/dispatch.groovy | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/jenkins/dispatch.groovy b/jenkins/dispatch.groovy index 89aa26f..493fe72 100644 --- a/jenkins/dispatch.groovy +++ b/jenkins/dispatch.groovy @@ -140,6 +140,7 @@ node(LABEL) { "BUILD_CONTROL_REPO: ${BUILD_CONTROL_REPO}\n" + "BUILD_CONTROL_GIT_REF: ${BUILD_CONTROL_GIT_REF}\n" + "UTILS_REPO: ${UTILS_REPO}\n" + + "UTILS_REPO_GIT_REF: ${UTILS_REPO_GIT_REF}\n" + " Trigger parameters:\n" + "this.cull_manifest: ${this.cull_manifest}\n" + " Manifest values:\n" + @@ -175,6 +176,9 @@ node(LABEL) { // Get build utilities dir(this.utils_dir) { git url: UTILS_REPO + if (UTILS_REPO_GIT_REF != "") { + sh(script: "git checkout ${UTILS_REPO_GIT_REF}") + } } // Check for the availability of a download tool and then use it |