diff options
Diffstat (limited to 'jjb/ovsnfv')
-rw-r--r-- | jjb/ovsnfv/ovsnfv.yml | 66 |
1 files changed, 35 insertions, 31 deletions
diff --git a/jjb/ovsnfv/ovsnfv.yml b/jjb/ovsnfv/ovsnfv.yml index 5cc4d6afd..4bfabffa6 100644 --- a/jjb/ovsnfv/ovsnfv.yml +++ b/jjb/ovsnfv/ovsnfv.yml @@ -1,12 +1,10 @@ - project: name: ovsnfv jobs: - - 'ovsnfv-verify' - - 'ovsnfv-merge' + - 'ovsnfv-verify-{stream}' + - 'ovsnfv-merge-{stream}' - 'ovsnfv-daily-{stream}' - # stream: branch with - in place of / (eg. stable-arno) - # branch: branch (eg. stable/arno) stream: - master: branch: 'master' @@ -14,11 +12,9 @@ project: 'ovsnfv' - job-template: - name: 'ovsnfv-verify' + name: 'ovsnfv-verify-{stream}' - node: ericsson-build - - project-type: freestyle + node: opnfv-build logrotate: daysToKeep: 30 @@ -62,19 +58,19 @@ branch-pattern: '**/master' builders: - - shell: - echo "Hello World" - -- job-template: - name: 'ovsnfv-merge' + - shell: | + #!/bin/bash + set -o errexit + set -o nounset + set -o pipefail - # builder-merge job to run JJB update - # - # This job's purpose is to update all the JJB + cd $WORKSPACE/ci + ./build.sh - node: master +- job-template: + name: 'ovsnfv-merge-{stream}' - project-type: freestyle + node: opnfv-build logrotate: daysToKeep: 30 @@ -112,24 +108,22 @@ branch-pattern: '**/master' builders: - - shell: - echo "Hello World" + - shell: | + #!/bin/bash + set -o errexit + set -o nounset + set -o pipefail + cd $WORKSPACE/ci + ./build.sh - job-template: name: 'ovsnfv-daily-{stream}' - # Job template for daily builders - # - # Required Variables: - # stream: branch with - in place of / (eg. stable) - # branch: branch (eg. stable) - node: master + node: opnfv-build disabled: true - project-type: freestyle - logrotate: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' @@ -139,6 +133,10 @@ parameters: - project-parameter: project: '{project}' + - string: + name: GIT_BASE + default: https://gerrit.opnfv.org/gerrit/$PROJECT + description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW." scm: - git-scm: @@ -147,8 +145,14 @@ branch: '{branch}' triggers: - - timed: 'H H * * *' + - timed: '@midnight' builders: - - shell: - echo "Hello World" + - shell: | + #!/bin/bash + set -o errexit + set -o nounset + set -o pipefail + + cd $WORKSPACE/ci + ./build.sh |