From b523d45612dac415ae659fb7640d50209d1594ce Mon Sep 17 00:00:00 2001 From: Guo Ruijing Date: Thu, 26 Oct 2017 17:02:28 -0400 Subject: [PATCH] add daily job for container4nfv Change-Id: I78a06c6123c9bfad33953eab0eb5db76ee0d5e84 Signed-off-by: Guo Ruijing --- jjb/container4nfv/container4nfv-project.yml | 37 +++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/jjb/container4nfv/container4nfv-project.yml b/jjb/container4nfv/container4nfv-project.yml index c7666a1e6..76e5e2f5e 100644 --- a/jjb/container4nfv/container4nfv-project.yml +++ b/jjb/container4nfv/container4nfv-project.yml @@ -10,6 +10,7 @@ jobs: - 'container4nfv-verify-{stream}' + - 'container4nfv-daily-{stream}' stream: - master: @@ -63,3 +64,39 @@ - shell: | cd $WORKSPACE/ci ./build.sh + + +- job-template: + name: 'container4nfv-daily-{stream}' + + project-type: freestyle + + disabled: '{obj:disabled}' + + concurrent: false + + properties: + - logrotate-default + + parameters: + - project-parameter: + project: '{project}' + branch: '{branch}' + - node: + name: SLAVE_NAME + description: 'Slave name on Jenkins' + allowed-slaves: + - huawei-virtaul6 + default-slaves: + - huawei-virtaul6 + + scm: + - git-scm + + triggers: + - timed: '@midnight' + + builders: + - shell: + cd $WORKSPACE/ci + ./deploy.sh -- 2.16.6