Use GERRIT_BRACH param in Jenkinsfile
authorWesley Hirsch <wesley.hirsch@riftio.com>
Fri, 8 Sep 2017 21:39:34 +0000 (17:39 -0400)
committerWesley Hirsch <wesley.hirsch@riftio.com>
Fri, 8 Sep 2017 21:39:34 +0000 (17:39 -0400)
Change-Id: I6ebaee1636bb99f0e2776489bc9222a9a87661e0
Signed-off-by: Wesley Hirsch <wesley.hirsch@riftio.com>
Jenkinsfile

index 85e99ab..a4a3fa3 100644 (file)
@@ -11,7 +11,7 @@ properties([
 
 def devops_checkout() {
     dir('devops') {
 
 def devops_checkout() {
     dir('devops') {
-        git url: "${PROJECT_URL_PREFIX}/osm/devops"
+        git url: "${PROJECT_URL_PREFIX}/osm/devops", branch: params.GERRIT_BRANCH
     }
 }
 
     }
 }