summaryrefslogtreecommitdiffstats
path: root/jjb/ovsnfv/ovsnfv.yml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/ovsnfv/ovsnfv.yml')
-rw-r--r--jjb/ovsnfv/ovsnfv.yml73
1 files changed, 36 insertions, 37 deletions
diff --git a/jjb/ovsnfv/ovsnfv.yml b/jjb/ovsnfv/ovsnfv.yml
index f7dd1ce28..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
@@ -42,10 +40,6 @@
refspec: '$GERRIT_REFSPEC'
choosing-strategy: 'gerrit'
- wrappers:
- - ssh-agent-credentials:
- user: '{ssh-credentials}'
-
triggers:
- gerrit:
trigger-on:
@@ -66,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
@@ -102,10 +98,6 @@
refspec: ''
choosing-strategy: 'default'
- wrappers:
- - ssh-agent-credentials:
- user: '{ssh-credentials}'
-
triggers:
- gerrit:
trigger-on:
@@ -120,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
@@ -147,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:
@@ -154,13 +151,15 @@
refspec: ''
branch: '{branch}'
- wrappers:
- - ssh-agent-credentials:
- user: '{ssh-credentials}'
-
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