diff options
author | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2016-07-28 09:55:24 +0200 |
---|---|---|
committer | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2016-08-05 11:25:59 +0000 |
commit | 48e9188db830c825c5212969e3cf85c055002f3c (patch) | |
tree | 3a6df2a05d979cf81d6e2a7ce7ed976ff5d3d020 /jjb/kvmfornfv/kvmfornfv.yml | |
parent | bd35a079af75875da3ca438527899c6cb7ea7b74 (diff) |
kvmfornfv: Create daily job and enable artifact upload
Change-Id: I75b9bb58b3413514b1e3fea63185e210f56de95a
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
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 ##################################### |