testing variable names

This commit is contained in:
hardy
2022-01-17 22:49:00 +01:00
parent e62844bfef
commit 064ed744b3
+2 -2
View File
@@ -59,8 +59,8 @@ pipeline {
booleanParam(name: 'eNB_mergeRequest', value: Boolean.valueOf(ALLOW_MERGE))
]
jobResult = jobStatus.getResult()
def build_url = jobStatus.getBuildVariables()["BUILD_URL"];
def build_id = jobStatus.getBuildVariables()["BUILD_ID"];
build_url = jobStatus.getAbsoluteUrl()
build_id = jobStatus.getNumber().toString()
GitPostArgs += jobName + ' ' + build_url + ' ' + build_id + ' ' + jobResult
echo GitPostArgs