summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Klozik <martin.klozik@tieto.com>2018-12-06 11:45:28 +0100
committerMartin Klozik <martin.klozik@tieto.com>2018-12-06 11:48:31 +0100
commit17599a1f9597b676bc2536de08a1ce091ee34e7d (patch)
tree464fc832f9435177b1841f708c198e1e464675de
parentbcf5345b5a0dda944cbd68569d5956a776eb7854 (diff)
Auto: Daily job definition
A daily job definition to execute Auto project daily CI script. A definition of intel-pod18-defaults was added into jjb/global/slave-params.yaml Change-Id: I26877088a0c1ab25dc67de0aba1f2da6b2862661 Signed-off-by: Martin Klozik <martin.klozik@tieto.com>
-rw-r--r--jjb/auto/auto.yaml28
-rw-r--r--jjb/global/slave-params.yaml15
2 files changed, 43 insertions, 0 deletions
diff --git a/jjb/auto/auto.yaml b/jjb/auto/auto.yaml
index abba9c8d3..ccf723f01 100644
--- a/jjb/auto/auto.yaml
+++ b/jjb/auto/auto.yaml
@@ -45,6 +45,7 @@
jobs:
- '{installer}-{scenario}-{pod}-auto-daily-{stream}'
- '{installer}-deploy-{pod}-daily-{stream}'
+ - 'auto-daily-{stream}'
- 'auto-verify-{stream}'
- 'auto-merge-{stream}'
@@ -101,6 +102,33 @@
block: true
- job-template:
+ name: 'auto-daily-{stream}'
+
+ disabled: '{obj:disabled}'
+
+ properties:
+ - logrotate-default
+ - build-blocker:
+ use-build-blocker: true
+ blocking-jobs:
+ - 'auto-daily-.*'
+ blocking-level: 'NODE'
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ branch: '{branch}'
+ - 'intel-pod18-defaults'
+
+ triggers:
+ - timed: '0 16 * * *'
+
+ builders:
+ - shell: |
+ pwd
+ ./ci/build-auto.sh daily
+
+- job-template:
name: 'auto-verify-{stream}'
disabled: '{obj:disabled}'
diff --git a/jjb/global/slave-params.yaml b/jjb/global/slave-params.yaml
index 30ecd2a03..e62a75c66 100644
--- a/jjb/global/slave-params.yaml
+++ b/jjb/global/slave-params.yaml
@@ -793,6 +793,21 @@
description: 'Git URL to use on this Jenkins Slave'
- parameter:
+ name: 'intel-pod18-defaults'
+ parameters:
+ - node:
+ name: SLAVE_NAME
+ description: 'Slave name on Jenkins'
+ allowed-slaves:
+ - intel-pod18
+ default-slaves:
+ - intel-pod18
+ - string:
+ name: GIT_BASE
+ default: https://gerrit.opnfv.org/gerrit/$PROJECT
+ description: 'Git URL to use on this Jenkins Slave'
+
+- parameter:
name: 'huawei-pod3-defaults'
parameters:
- node: