Merge "add google storage path postfix for bottlenecks project"
authorRyota Mibu <r-mibu@cq.jp.nec.com>
Tue, 5 Jan 2016 01:08:27 +0000 (01:08 +0000)
committerGerrit Code Review <gerrit@172.30.200.206>
Tue, 5 Jan 2016 01:08:27 +0000 (01:08 +0000)
jjb/fuel/fuel-ci-jobs.yml
jjb/fuel/fuel-project-jobs.yml
jjb/ovsnfv/ovsnfv.yml
jjb/releng-macros.yaml
jjb/yardstick/yardstick-ci-jobs.yml

index bcc3248..8882879 100644 (file)
@@ -53,7 +53,6 @@
 
     jobs:
         - 'fuel-{sdn-controller}-{pod}-daily-{stream}'
-        - 'fuel-build-{pod}-daily-{stream}'
         - 'fuel-deploy-{pod}-daily-{stream}'
 
 ########################
             branch: '{branch}'
 
     builders:
-        - multijob:
-            name: build
-            condition: SUCCESSFUL
-            projects:
-                - name: 'fuel-build-{pod}-daily-{stream}'
-                  git-revision: true
-                  kill-phase-on: FAILURE
         - multijob:
             name: deploy
             condition: SUCCESSFUL
                   current-parameters: true
                   kill-phase-on: NEVER
 
-- job-template:
-    name: 'fuel-build-{pod}-daily-{stream}'
-
-    concurrent: false
-
-    properties:
-        - throttle:
-            enabled: true
-            max-total: 1
-            max-per-node: 1
-
-    parameters:
-        - project-parameter:
-            project: '{project}'
-        - 'ericsson-ca-build-1-defaults'
-        - '{installer}-defaults'
-        - fuel-ci-parameter:
-            gs-pathname: '{gs-pathname}'
-
-    scm:
-        - git-scm:
-            credentials-id: '{ssh-credentials}'
-            refspec: ''
-            branch: '{branch}'
-
-    wrappers:
-        - timeout:
-            timeout: 360
-            fail: true
-
-    builders:
-        - shell:
-            !include-raw ./fuel-build.sh
-        - shell:
-            !include-raw ./fuel-upload-artifact.sh
-        - shell:
-            !include-raw ./fuel-workspace-cleanup.sh
-
-    publishers:
-        - email:
-            recipients: jonas.bjurel@ericsson.com stefan.k.berg@ericsson.com
-
 - job-template:
     name: 'fuel-deploy-{pod}-daily-{stream}'
 
index a55c785..50df1bd 100644 (file)
@@ -18,6 +18,7 @@
 #            gs-pathname: '/{stream}'
 
     jobs:
+        - 'fuel-build-daily-{stream}'
         - 'fuel-verify-build-{stream}'
         - 'fuel-merge-build-{stream}'
         - 'fuel-merge-deploy-virtual-{stream}'
 ########################
 # job templates
 ########################
+- job-template:
+    name: 'fuel-build-daily-{stream}'
+
+    concurrent: false
+
+    properties:
+        - throttle:
+            enabled: true
+            max-total: 1
+            max-per-node: 1
+
+    parameters:
+        - project-parameter:
+            project: '{project}'
+        - 'ericsson-ca-build-1-defaults'
+        - '{installer}-defaults'
+        - fuel-project-parameter:
+            gs-pathname: '{gs-pathname}'
+
+    scm:
+        - git-scm:
+            credentials-id: '{ssh-credentials}'
+            refspec: ''
+            branch: '{branch}'
+
+    triggers:
+        - pollscm: '0 H/6 * * *'
+
+    wrappers:
+        - timeout:
+            timeout: 360
+            fail: true
+
+    builders:
+        - shell:
+            !include-raw ./fuel-build.sh
+        - shell:
+            !include-raw ./fuel-upload-artifact.sh
+        - shell:
+            !include-raw ./fuel-workspace-cleanup.sh
+
+    publishers:
+        - email:
+            recipients: jonas.bjurel@ericsson.com stefan.k.berg@ericsson.com
+
 - job-template:
     name: 'fuel-verify-build-{stream}'
 
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:
index 470bf68..0ef6c9b 100644 (file)
                 -e "POD_NAME=${NODE_NAME}" \
                 -e "EXTERNAL_NETWORK=net04_ext" \
                 opnfv/yardstick \
-                run_tests.sh \
+                run_tests.sh $YARDSTICK_DB_BACKEND \
                 $YARDSTICK_SUITE_NAME
 
             echo "Yardstick: done!"
     parameters:
         - string:
             name: YARDSTICK_DB_BACKEND
-            default: 'none'
+            default: ''
             description: 'Arguments to use in order to choose the backend DB'
 
 - parameter:
     parameters:
         - string:
             name: YARDSTICK_DB_BACKEND
-            default: 'none'
+            default: ''
             description: 'Arguments to use in order to choose the backend DB'
 
 - parameter:
     parameters:
         - string:
             name: YARDSTICK_DB_BACKEND
-            default: 'db_args'
+            default: '-r 213.77.62.197'
             description: 'Arguments to use in order to choose the backend DB'
 
 - parameter:
     parameters:
         - string:
             name: YARDSTICK_DB_BACKEND
-            default: 'none'
+            default: ''
             description: 'Arguments to use in order to choose the backend DB'