diff options
author | Victor Laza <vlaza@cloudbasesolutions.com> | 2015-04-08 21:21:57 +0300 |
---|---|---|
committer | Victor Laza <vlaza@cloudbasesolutions.com> | 2015-04-08 21:44:44 +0300 |
commit | 6dfd9796eb5cccce50ea257e9c0de4a8f33d99b2 (patch) | |
tree | 786c12a4792b2a8b10d39bd8b4f1a3ad45550ea0 /jjb/genesis/genesis.yml | |
parent | 6874ccaa77032c9530cf62c3056111c502135104 (diff) |
JIRA: DOCU-2 - Adding a job to build genesis documentation from .rst files
This job will use shell to build documentation for genesis project
Change-Id: I143773f902bb33bbd58045415fa52cd3a14a7fa9
Signed-off-by: Victor Laza <vlaza@cloudbasesolutions.com>
Diffstat (limited to 'jjb/genesis/genesis.yml')
-rw-r--r-- | jjb/genesis/genesis.yml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/jjb/genesis/genesis.yml b/jjb/genesis/genesis.yml index b146572a7..e70442ddd 100644 --- a/jjb/genesis/genesis.yml +++ b/jjb/genesis/genesis.yml @@ -12,6 +12,7 @@ - 'genesis-{installer}-verify' - 'genesis-{installer}-merge' - 'genesis-{installer}-daily-master' + - 'genesis-build-docs' # stream: branch with - in place of / (eg. stable-helium) # branch: branch (eg. stable/helium) @@ -200,6 +201,50 @@ builders: - '{installer}-daily-master' +- job-template: + name: 'genesis-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: 'genesis' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/master' + + builders: + - shell: | + !include-raw build-docu.sh + ######################## # builder macros ######################## |