Commit 8aed43d1 authored by Bhushan Shah's avatar Bhushan Shah 📱

Make job names with revision ID and not DIFF_ID

(naming is bit awkward but oh well.. that's not new for phab)
parent 7ae9a1b0
......@@ -26,6 +26,7 @@ knownJobs.each {
// In order for Phabricator to tell us what to build, we need to have parameters...
parameters {
stringParam('DIFF_ID')
stringParam('REVISION')
stringParam('PHID')
stringParam('STAGING_URI')
stringParam('STAGING_REF')
......
......@@ -6,7 +6,7 @@ def ciEnvironment = "production"
// Read in our variables, as we'll need to know what job we are creating...
def productName = "${PRODUCT_NAME}"
def reviewID = "${DIFF_ID}"
def reviewID = "${REVISION}"
def reviewPHID = "${PHID}"
def reviewStagingURL = "${STAGING_URI}"
def reviewStagingRef = "${STAGING_REF}"
......
......@@ -11,4 +11,4 @@ node('master') {
}
// Now trigger the individual job we want
build job: "Reviews/${params.DIFF_ID}", parameters: [string(name: 'DIFF_ID', value: params.DIFF_ID), string(name: 'PHID', value: params.PHID)], wait: false
build job: "Reviews/${params.REVISION}", parameters: [string(name: 'DIFF_ID', value: params.DIFF_ID), string(name: 'PHID', value: params.PHID)], wait: false
Markdown is supported
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