diff options
Diffstat (limited to 'jjb/pharos')
-rw-r--r-- | jjb/pharos/pharos.yml | 57 |
1 files changed, 30 insertions, 27 deletions
diff --git a/jjb/pharos/pharos.yml b/jjb/pharos/pharos.yml index ab6705b14..6ab54598d 100644 --- a/jjb/pharos/pharos.yml +++ b/jjb/pharos/pharos.yml @@ -4,10 +4,10 @@ - project: name: pharos jobs: - - 'pharos-test' - 'pharos-daily-{stream}' - 'pharos-merge-{stream}' - 'pharos-verify-{stream}' + - 'pharos-maas-pilot-{stream}' # stream: branch with - in place of / (eg. stable-arno) # branch: branch (eg. stable/arno) @@ -25,32 +25,14 @@ # job template ############################## - job-template: - name: pharos-test - - project-type: freestyle - - logrotate: - daysToKeep: 30 - numToKeep: 10 - artifactDaysToKeep: -1 - artifactNumToKeep: -1 - - builders: - - shell: | - echo "Hello world from pharos" - -- job-template: name: 'pharos-daily-{stream}' - node: master - # Job template for daily builders # # Required Variables: # stream: branch with - in place of / (eg. stable) # branch: branch (eg. stable) - project-type: freestyle varsetabove: '{somevar}' logrotate: @@ -87,10 +69,6 @@ - job-template: name: 'pharos-verify-{stream}' - node: master - - project-type: freestyle - logrotate: daysToKeep: 30 numToKeep: 10 @@ -134,14 +112,10 @@ - job-template: name: 'pharos-merge-{stream}' - node: master - # builder-merge job to run JJB update # # This job's purpose is to update all the JJB - project-type: freestyle - logrotate: daysToKeep: 30 numToKeep: 40 @@ -177,6 +151,35 @@ - shell: !include-raw ../opnfvdocs/docu-build.sh +- job-template: + name: 'pharos-maas-pilot-{stream}' + + node: master + + project-type: freestyle + + logrotate: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + + scm: + - git-scm: + credentials-id: '{ssh-credentials}' + refspec: '' + branch: '{branch}' + + triggers: + - pollscm: '@midnight' + + builders: + - shell: + echo "Hello World" ######################## # parameter macros ######################## |