summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
Diffstat (limited to 'jjb')
-rw-r--r--jjb/ovsnfv/ovsnfv.yml61
1 files changed, 36 insertions, 25 deletions
diff --git a/jjb/ovsnfv/ovsnfv.yml b/jjb/ovsnfv/ovsnfv.yml
index 5cc4d6afd..1c5810a03 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,9 +12,9 @@
project: 'ovsnfv'
- job-template:
- name: 'ovsnfv-verify'
+ name: 'ovsnfv-verify-{stream}'
- node: ericsson-build
+ node: opnfv-build
project-type: freestyle
@@ -62,17 +60,19 @@
branch-pattern: '**/master'
builders:
- - shell:
- echo "Hello World"
+ - shell: |
+ #!/bin/bash
+ set -o errexit
+ set -o nounset
+ set -o pipefail
-- job-template:
- name: 'ovsnfv-merge'
+ cd $WORKSPACE/ci
+ ./build.sh
- # builder-merge job to run JJB update
- #
- # This job's purpose is to update all the JJB
+- job-template:
+ name: 'ovsnfv-merge-{stream}'
- node: master
+ node: opnfv-build
project-type: freestyle
@@ -112,19 +112,20 @@
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
@@ -139,6 +140,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 +152,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