Create new fold in PPA-repo for Bramhputra 09/7809/10
authormeimei <meimei@huawei.com>
Sat, 23 Jan 2016 02:43:07 +0000 (10:43 +0800)
committermeimei <meimei@huawei.com>
Mon, 25 Jan 2016 03:00:45 +0000 (11:00 +0800)
- enable the compass+opencontrail daily jobs
- set timeout of daily-ci-jobs and verify jobs

Change-Id: Ia300d3b0406b84e69892ac6fdf641f5b4399188f
Signed-off-by: meimei <meimei@huawei.com>
jjb/compass4nfv/compass-build.sh
jjb/compass4nfv/compass-ci-jobs.yml
jjb/compass4nfv/compass-project-jobs.yml

index 85b3ab4..d08c39c 100644 (file)
@@ -2,6 +2,7 @@
 set -o errexit
 set -o nounset
 set -o pipefail
+set -x
 
 # log info to console
 echo "Starting the build of $INSTALLER_TYPE. This could take some time..."
@@ -14,6 +15,7 @@ echo
 
 # set OPNFV_ARTIFACT_VERSION
 export OPNFV_ARTIFACT_VERSION=$(date -u +"%Y-%m-%d_%H-%M-%S")
+export PACKAGE_URL=$PPA_REPO
 
 # start the build
 if [ -d $PPA_CACHE ]
@@ -38,4 +40,4 @@ ls -al $BUILD_DIRECTORY
 ) > $BUILD_DIRECTORY/opnfv.properties
 echo
 echo "--------------------------------------------------------"
-echo "Done!"
\ No newline at end of file
+echo "Done!"
index f43ab59..99c40cb 100644 (file)
@@ -44,9 +44,9 @@
         - 'os-onos-nofeature-ha':
             disabled: false
             auto-trigger-name: 'compass-{scenario}-{pod}-trigger'
-#        - 'os-ocl-nofeature-ha':
-#            disabled: true
-#            auto-trigger-name: 'compass-{scenario}-{pod}-trigger'
+        - 'os-ocl-nofeature-ha':
+            disabled: false
+            auto-trigger-name: 'compass-{scenario}-{pod}-trigger'
 
     jobs:
         - 'compass-{scenario}-{pod}-daily-{stream}'
@@ -77,6 +77,9 @@
     wrappers:
         - build-name:
             name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
+        - timeout:
+            timeout: 360
+            fail: true
 
     parameters:
         - project-parameter:
             name: BUILD_DIRECTORY
             default: $WORKSPACE/build_output
             description: "Directory where the build artifact will be located upon the completion of the build."
-        - string:
-            name: CACHE_DIRECTORY
-            default: $HOME/opnfv/cache/$PROJECT
-            description: "Directory where the cache to be used during the build is located."
         - string:
             name: GS_URL
             default: '$GS_BASE{gs-pathname}'
             description: "URL to Google Storage."
-        - string:
-            name: PPA_REPO
-            default: "http://205.177.226.235:9999"
-        - string:
-            name: PPA_CACHE
-            default: "$WORKSPACE/work/repo/"
         - choice:
             name: COMPASS_OPENSTACK_VERSION
             choices:
index 0316e6f..da05422 100644 (file)
 
     concurrent: true
 
+    wrappers:
+        - timeout:
+            timeout: 120
+            fail: true
+
     properties:
         - throttle:
             enabled: true
             description: "Directory where the build artifact will be located upon the completion of the build."
         - string:
             name: CACHE_DIRECTORY
-            default: $HOME/opnfv/cache/$PROJECT
+            default: "$HOME/opnfv/cache/$PROJECT{gs-pathname}"
             description: "Directory where the cache to be used during the build is located."
         - string:
             name: GS_URL
             description: "URL to Google Storage."
         - string:
             name: PPA_REPO
-            default: "http://205.177.226.235:9999"
+            default: "http://205.177.226.237:9999{gs-pathname}"
         - string:
             name: PPA_CACHE
             default: "$WORKSPACE/work/repo/"