diff options
Diffstat (limited to 'jjb/pharos/pharos.yml')
-rw-r--r-- | jjb/pharos/pharos.yml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/jjb/pharos/pharos.yml b/jjb/pharos/pharos.yml index fc2af7408..690b7f338 100644 --- a/jjb/pharos/pharos.yml +++ b/jjb/pharos/pharos.yml @@ -5,6 +5,7 @@ - 'pharos-daily-master' - 'pharos-merge' - 'pharos-verify' + - 'pharos-build-docs' # stream: branch with - in place of / (eg. stable-helium) # branch: branch (eg. stable/helium) @@ -178,7 +179,49 @@ find . echo "merge logic goes here" +- job-template: + name: 'pharos-build-docs' + + project-type: freestyle + + logrotate: + daysToKeep: 30 + numToKeep: 40 + artifactDaysToKeep: -1 + artifactNumToKeep: 5 + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: 'master' + + scm: + - gerrit-trigger-scm: + credentials-id: '{ssh-credentials}' + refspec: '' + choosing-strategy: 'default' + + wrappers: + - ssh-agent-credentials: + user: '{ssh-credentials}' + + triggers: + - gerrit: + trigger-on: + - change-merged-event + - comment-added-contains-event: + comment-contains-value: 'remerge' + projects: + - project-compare-type: 'ANT' + project-pattern: 'pharos' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/master' + builders: + - shell: | + !include-raw build-docu.sh |