osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ci/+/38088?usp=email )


Change subject: jobs/osmo-gsm-tester-build: fix Missing parameter
......................................................................

jobs/osmo-gsm-tester-build: fix Missing parameter

Use OSMO_GSM_TESTER_BRANCH as shell variable ('$...'), not as jenkins
job builder parameter (${...}). This is how we do it in other jobs as
well, e.g. jobs/osmocom-obs.yml.

Apparently the workaround in the file happened to work earlier, but it
does not work anymore with Jenkins Job Builder version 6.3.0. Remove it.

Fix for:
  osmo-gsm-tester-builder.yml:119:15: While formatting string 
'${OSMO_GSM_TESTER_BRANCH}': Missing parameter: 'OSMO_GSM_TESTER_BRANCH'
                - ${OSMO_GSM_TESTER_BRANCH}
                  ^

Change-Id: I3b6b16964a4d8a51fd3ecc0d670805182a8c6586
---
M jobs/osmo-gsm-tester-builder.yml
1 file changed, 1 insertion(+), 8 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/88/38088/1

diff --git a/jobs/osmo-gsm-tester-builder.yml b/jobs/osmo-gsm-tester-builder.yml
index 262663f..ba925d0 100644
--- a/jobs/osmo-gsm-tester-builder.yml
+++ b/jobs/osmo-gsm-tester-builder.yml
@@ -106,17 +106,10 @@
       - add_param_build_branch:
          name: OSMO_GSM_TESTER_BUILD_srslte
     scm:
-      - osmo-gsm-tester-repo
-
-# The repo must be used seperate to workaround the bug "Can not expand 
OSMO_GSM_TESTER_BRANCH".
-# The safe-guard check to not use un-defined variables seems to be broken.
-- scm:
-    name: osmo-gsm-tester-repo
-    scm:
       - git:
           url: https://gerrit.osmocom.org/osmo-gsm-tester
           branches:
-            - ${OSMO_GSM_TESTER_BRANCH}
+            - '$OSMO_GSM_TESTER_BRANCH'
           wipe-workspace: false
           skip-tag: true
           basedir: osmo-gsm-tester

--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/38088?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I3b6b16964a4d8a51fd3ecc0d670805182a8c6586
Gerrit-Change-Number: 38088
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>

Reply via email to