Expose stream as a env variable
[releng/global-jjb.git] / jjb / lf-python-jobs.yaml
index 581e34a..e66f522 100644 (file)
@@ -40,6 +40,7 @@
     branch: master
     build-timeout: 10
     git-url: '$GIT_URL/$GERRIT_PROJECT'
+    stream: '{stream}'
     submodule-recursive: true
     tox-dir: ''
     tox-envs: ''
@@ -56,6 +57,7 @@
       - lf-infra-parameters:
           project: '{project}'
           branch: '{branch}'
+          stream: '{stream}'
       - lf-infra-tox-parameters:
           tox-dir: '{tox-dir}'
           tox-envs: '{tox-envs}'
@@ -86,7 +88,7 @@
     # Python projects typically use tox to run testing.
     name: '{project-name}-tox-verify-{stream}'
     id: gerrit-tox-verify
-    <<: *lf-tox-verify
+    <<: *lf_tox_verify
 
     scm:
       - lf-infra-gerrit-scm:
     # Python projects typically use tox to run testing.
     name: '{project-name}-tox-verify-{stream}'
     id: github-tox-verify
-    <<: *lf-tox-verify
+    <<: *lf_tox_verify
 
     properties:
       - github:
-          url: '${{GIT_URL}}{github-org}/{project}'
+          url: '{git-url}/{github-org}/{project}'
 
     scm:
       - lf-infra-github-scm:
-          url: '${{GIT_CLONE_URL}}{github-org}/{project}'
+          url: '{git-clone-url}{github-org}/{project}'
           refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
           branch: '{branch}'
           submodule-recursive: '{submodule-recursive}'