[compass] fix the GS_URL for B release branch
[releng.git] / jjb / compass4nfv / compass4nfv.yml
index f1bcee7..5479710 100644 (file)
@@ -9,17 +9,17 @@
         - 'compass-daily-{stream}'
         - 'compass-build-iso-{stream}'
         - 'compass-build-ppa-{stream}'
-        - 'compass-deploy-virtual-{flavor}'
-        - 'compass-deploy-bare-huawei-us'
+        - 'compass-deploy-virtual-{flavor}-{stream}'
+        - 'compass-deploy-bare-huawei-us-{stream}'
 
 # only master branch is enabled at the moment to keep no of jobs sane
     stream:
         - master:
-            branch: 'master'
+            branch: '{stream}'
             gs-pathname: ''
 #        - brahmaputra:
-#            branch: 'stable/brahmaputra'
-#            gs-pathname: '/brahmaputra'
+#            branch: 'stable/{stream}'
+#            gs-pathname: '/{stream}'
 
     flavor:
         - cluster-odl:
@@ -59,6 +59,7 @@
             branch: '{branch}'
         - compass-parameter:
             installer: '{installer}'
+            gs-pathname: '{gs-pathname}'
         - string:
             name: FLAVOR_CONF
             default: 'virtual_cluster'
             project: '{project}'
         - compass-parameter:
             installer: '{installer}'
+            gs-pathname: '{gs-pathname}'
 
     scm:
         - git-scm:
             git-revision: true
             block: true
         - trigger-builds:
-          - project: 'compass-deploy-virtual-cluster'
+          - project: 'compass-deploy-virtual-cluster-{stream}'
             git-revision: true
             block: true
         - trigger-builds:
-          - project: 'compass-deploy-virtual-cluster-odl'
+          - project: 'compass-deploy-virtual-cluster-odl-{stream}'
             git-revision: true
             block: true
         - trigger-builds:
-          - project: 'compass-deploy-virtual-cluster-onos'
+          - project: 'compass-deploy-virtual-cluster-onos-{stream}'
             git-revision: true
             block: true
         - trigger-builds:
-          - project: 'compass-deploy-bare-huawei-us'
+          - project: 'compass-deploy-bare-huawei-us-{stream}'
             git-revision: true
             block: true
 
             project: '{project}'
         - compass-parameter:
             installer: '{installer}'
+            gs-pathname: '{gs-pathname}'
 
     scm:
         - git-scm:
             project: '{project}'
         - compass-parameter:
             installer: '{installer}'
+            gs-pathname: '{gs-pathname}'
 
     scm:
         - git-scm:
         - 'builder-compass-make-ppa'
 
 - job-template:
-    name: 'compass-deploy-virtual-{flavor}'
+    name: 'compass-deploy-virtual-{flavor}-{stream}'
 
     disabled: false
 
             project: '{project}'
         - compass-parameter:
             installer: '{installer}'
+            gs-pathname: '{gs-pathname}'
         - string:
             name: FLAVOR_CONF
             default: '{conf}'
             fingerprint: true
 
 - job-template:
-    name: 'compass-deploy-bare-huawei-us'
+    name: 'compass-deploy-bare-huawei-us-{stream}'
 
     disabled: false
 
             project: '{project}'
         - compass-parameter:
             installer: '{installer}'
+            gs-pathname: '{gs-pathname}'
 
     builders:
         - 'builder-compass-ci-preclean-workspace'
             description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
         - string:
             name: GS_URL
-            default: artifacts.opnfv.org/$PROJECT/
+            default: artifacts.opnfv.org/$PROJECT{gs-pathname}
             description: "URL to Google Storage."
         - string:
             name: GS_URL_PROXY