[compass] fix the GS_URL for B release branch 71/5471/4
authormeimei <meimei@huawei.com>
Mon, 4 Jan 2016 10:48:55 +0000 (18:48 +0800)
committermeimei <meimei@huawei.com>
Mon, 4 Jan 2016 11:26:04 +0000 (19:26 +0800)
Change-Id: If900ec91c5024ac52aba666ccc2fa67ab1ecfac9
Signed-off-by: meimei <meimei@huawei.com>
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