From 17599a1f9597b676bc2536de08a1ce091ee34e7d Mon Sep 17 00:00:00 2001 From: Martin Klozik Date: Thu, 6 Dec 2018 11:45:28 +0100 Subject: 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 --- jjb/auto/auto.yaml | 28 ++++++++++++++++++++++++++++ jjb/global/slave-params.yaml | 15 +++++++++++++++ 2 files changed, 43 insertions(+) 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}' @@ -100,6 +101,33 @@ same-node: true 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}' 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 @@ -792,6 +792,21 @@ default: https://gerrit.opnfv.org/gerrit/$PROJECT 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: -- cgit 1.2.3-korg