diff options
author | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2016-08-08 07:20:33 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-08-08 07:20:33 +0000 |
commit | 749bcf1e2c0f5eea3acb43f49033d333257714ae (patch) | |
tree | f72a3d7e1c1a69de5d50f10299d98be215d9496d /jjb/kvmfornfv/kvmfornfv.yml | |
parent | 2cb8f311afa63e3cb57a9b0630468ceeb1ea7545 (diff) | |
parent | 48e9188db830c825c5212969e3cf85c055002f3c (diff) |
Merge "kvmfornfv: Create daily job and enable artifact upload"
Diffstat (limited to 'jjb/kvmfornfv/kvmfornfv.yml')
-rw-r--r-- | jjb/kvmfornfv/kvmfornfv.yml | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/jjb/kvmfornfv/kvmfornfv.yml b/jjb/kvmfornfv/kvmfornfv.yml index 77110bb74..5fcb27042 100644 --- a/jjb/kvmfornfv/kvmfornfv.yml +++ b/jjb/kvmfornfv/kvmfornfv.yml @@ -12,7 +12,6 @@ branch: 'stable/{stream}' gs-pathname: '/{stream}' disabled: true - ##################################### # patch verification phases ##################################### @@ -28,6 +27,7 @@ - 'kvmfornfv-verify-{stream}' - 'kvmfornfv-verify-{phase}-{stream}' - 'kvmfornfv-merge-{stream}' + - 'kvmfornfv-daily-{stream}' ##################################### # job templates ##################################### @@ -128,6 +128,8 @@ - gerrit-parameter: branch: '{branch}' - '{slave-label}-defaults' + - 'kvmfornfv-defaults': + gs-pathname: '{gs-pathname}' builders: - description-setter: @@ -168,6 +170,39 @@ builders: - shell: !include-raw: ./kvmfornfv-build.sh + +- job-template: + name: 'kvmfornfv-daily-{stream}' + + project-type: multijob + + disabled: '{obj:disabled}' + + concurrent: false + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - 'opnfv-build-ubuntu-defaults' + - 'kvmfornfv-defaults': + gs-pathname: '{gs-pathname}' + + scm: + - gerrit-trigger-scm: + credentials-id: '{ssh-credentials}' + refspec: '' + choosing-strategy: 'default' + + triggers: + - timed: '@midnight' + + builders: + - shell: + !include-raw-escape: ./kvmfornfv-build.sh + - shell: + !include-raw-escape: ./kvmfornfv-upload-artifact.sh ##################################### # builder macros ##################################### |