diff options
author | Aric Gardner <agardner@linuxfoundation.org> | 2015-10-15 13:01:16 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2015-10-15 13:01:16 +0000 |
commit | 91c12159739a8ea08c95489b138a7b405ea7f196 (patch) | |
tree | e45868d162ad89399f8545d8dceb8048a2fb861b /jjb/compass4nfv | |
parent | acee77c15be5b497c3e04c22cf1797149a34a1a0 (diff) | |
parent | 6e95e9c781d982204fbd8d474e93bd2317992471 (diff) |
Merge "bugfix on compass building jobs - change daily job's timer - use publisher to trigger the daily jobs - some path bugfix"
Diffstat (limited to 'jjb/compass4nfv')
-rw-r--r-- | jjb/compass4nfv/compass4nfv.yml | 44 |
1 files changed, 17 insertions, 27 deletions
diff --git a/jjb/compass4nfv/compass4nfv.yml b/jjb/compass4nfv/compass4nfv.yml index 226b3357d..5d0a5cbbc 100644 --- a/jjb/compass4nfv/compass4nfv.yml +++ b/jjb/compass4nfv/compass4nfv.yml @@ -209,6 +209,7 @@ branches: - branch-compare-type: 'ANT' branch-pattern: '**/master' + builders: - 'builder-compass-merge' @@ -232,7 +233,7 @@ branch: '{branch}' triggers: - - pollscm: '@midnight' + - timed: '@midnight' logrotate: daysToKeep: 30 @@ -241,20 +242,14 @@ artifactNumToKeep: -1 builders: - #- 'builder-compass-build-iso' - #- 'builder-compass-upload-artifact' - #- 'builder-compass-workspace-cleanup' - - shell: | - echo "Hello world!" - echo "compass-deploy-virtual job will be triggered!" - - publishers: - - trigger: - project: 'compass-build-iso' - threshold: SUCCESS - - trigger: - project: 'compass-deploy-virtual-cluster' - threshold: SUCCESS + - trigger-builds: + - project: 'compass-build' + git-revision: true + block: true + - trigger-builds: + - project: 'compass-deploy-virtual-cluster' + git-revision: true + block: true - job-template: name: 'compass-build-iso' @@ -338,8 +333,6 @@ default: '{conf}' description: "" - triggers: - - pollscm: "H/2 * * * *" logrotate: daysToKeep: 30 @@ -347,6 +340,7 @@ artifactDaysToKeep: -1 artifactNumToKeep: -1 + builders: - 'builder-compass-ci-preclean-workspace' - 'builder-compass-download-artifact' @@ -389,11 +383,6 @@ default: build.opnfv.org/artifacts/$PROJECT/ description: "URL to Google Storage proxy" - string: - name: INTERNAL_REPO_XA - default: "root@192.168.127.11:~/xh/work/build/work" - description: "Artifact Repository" - - - string: name: installer_ip default: "10.1.0.12" - string: @@ -550,19 +539,20 @@ echo # get the latest.properties file in order to get info regarding latest artifact - curl -s -o $WORKSPACE/latest.properties http://$GS_URL/latest.properties + [[ -d $BUILD_DIRECTORY ]] || mkdir -p $BUILD_DIRECTORY + curl -s -o $BUILD_DIRECTORY/latest.properties http://$GS_URL/latest.properties # check if we got the file - [[ -f latest.properties ]] || exit 1 + [[ -f $BUILD_DIRECTORY/latest.properties ]] || exit 1 # source the file so we get OPNFV vars - source latest.properties + source $BUILD_DIRECTORY/latest.properties # download the file - curl -s -o $WORKSPACE/compass.iso http://$OPNFV_ARTIFACT_URL > gsutil.iso.log 2>&1 + curl -s -o $BUILD_DIRECTORY/compass.iso http://$OPNFV_ARTIFACT_URL > gsutil.iso.log 2>&1 # list the file - ls -al $WORKSPACE/compass.iso + ls -al $BUILD_DIRECTORY/compass.iso echo echo "--------------------------------------------------------" |