diff options
author | Victor Laza <vlaza@cloudbasesolutions.com> | 2015-04-08 20:14:54 +0300 |
---|---|---|
committer | Victor Laza <vlaza@cloudbasesolutions.com> | 2015-04-08 20:14:54 +0300 |
commit | 41e14314400339743eef2c2ed4596c62c824306e (patch) | |
tree | bacb9f69056a3d611cb0427891501e1512aab799 /jjb/functest/functest.yml | |
parent | bb53ad031cefd54b306e04cf1f4690acd4e9e4f2 (diff) |
JIRA: DOCU-2 - Adding a job to build functest documentation from .rst files
This job will use shell to build documentation for functest project
Change-Id: I4db9391aac119e3cba2e87d454159b89b6c049d9
Signed-off-by: Victor Laza <vlaza@cloudbasesolutions.com>
Diffstat (limited to 'jjb/functest/functest.yml')
-rw-r--r-- | jjb/functest/functest.yml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/jjb/functest/functest.yml b/jjb/functest/functest.yml index e526dab22..c567c1959 100644 --- a/jjb/functest/functest.yml +++ b/jjb/functest/functest.yml @@ -5,6 +5,7 @@ - 'functest-daily-master' - 'functest-merge' - 'functest-verify' + - 'functest-build-docs' # stream: branch with - in place of / (eg. stable-helium) # branch: branch (eg. stable/helium) @@ -178,6 +179,49 @@ find . echo "merge logic goes here" +- job-template: + name: 'functest-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: 'functest' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/master' + + builders: + - shell: | + !include-raw build-docu.sh |