Fix URL to Google Storage for OVSNFV 93/5493/1
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>
Mon, 4 Jan 2016 14:36:19 +0000 (15:36 +0100)
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>
Mon, 4 Jan 2016 14:36:19 +0000 (15:36 +0100)
Change-Id: If800fe79156e150359a8f3d47851fcea9ca2493f
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
jjb/ovsnfv/ovsnfv.yml
jjb/releng-macros.yaml

index c01d7ae..f29219c 100644 (file)
 # 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'
+#            gs-pathname: '/{stream}'
 
 - job-template:
     name: 'ovsnfv-verify-{stream}'
         - gerrit-parameter:
             branch: '{branch}'
         - 'intel-us-build-2-defaults'
+        - string:
+            name: GS_URL
+            default: '$GS_BASE{gs-pathname}'
+            description: "Directory where the build artifact will be located upon the completion of the build."
 
     scm:
         - gerrit-trigger-scm:
         - gerrit-parameter:
             branch: '{branch}'
         - 'intel-us-build-2-defaults'
+        - string:
+            name: GS_URL
+            default: '$GS_BASE{gs-pathname}'
+            description: "Directory where the build artifact will be located upon the completion of the build."
 
     scm:
         - gerrit-trigger-scm:
         - 'intel-us-build-2-defaults'
         - string:
             name: GS_URL
-            default: gs://$GS_BASE{gs-pathname}
-            description: "URL to Google Storage."
+            default: '$GS_BASE{gs-pathname}'
+            description: "Directory where the build artifact will be located upon the completion of the build."
 
     scm:
         - git-scm:
index b94fd8f..8d6f551 100644 (file)
@@ -9,11 +9,11 @@
             description: "JJB configured PROJECT parameter to identify an opnfv Gerrit project"
         - string:
             name: GS_BASE
-            default: artifacts.opnfv.org/$PROJECT/
+            default: artifacts.opnfv.org/$PROJECT
             description: "URL to Google Storage."
         - string:
             name: GS_BASE_PROXY
-            default: build.opnfv.org/artifacts/$PROJECT/
+            default: build.opnfv.org/artifacts/$PROJECT
             description: "URL to Google Storage proxy"
 
 - parameter: