summaryrefslogtreecommitdiffstats
path: root/jjb/opnfvdocs/opnfvdocs.yml
diff options
context:
space:
mode:
authorVictor Laza <vlaza@cloudbasesolutions.com>2015-04-08 15:05:07 +0300
committerVictor Laza <vlaza@cloudbasesolutions.com>2015-04-08 17:53:53 +0300
commitbb53ad031cefd54b306e04cf1f4690acd4e9e4f2 (patch)
treef4f8dbfbca0db32682a2e72f4feb6264d0e4d40d /jjb/opnfvdocs/opnfvdocs.yml
parent0081e4ddd0bf021dcfe7705799b0143371caf677 (diff)
JIRA: DOCU-2 - Adding a job to build documentation from .rst files
This job will use shell to build documentation on Spirent's lab slave that has docutils installed Change-Id: I3a049b3e4a70e77f3449f5f9b38b8a52a4b55fac Signed-off-by: Victor Laza <vlaza@cloudbasesolutions.com>
Diffstat (limited to 'jjb/opnfvdocs/opnfvdocs.yml')
-rw-r--r--jjb/opnfvdocs/opnfvdocs.yml42
1 files changed, 42 insertions, 0 deletions
diff --git a/jjb/opnfvdocs/opnfvdocs.yml b/jjb/opnfvdocs/opnfvdocs.yml
index 326c27d53..327747f7f 100644
--- a/jjb/opnfvdocs/opnfvdocs.yml
+++ b/jjb/opnfvdocs/opnfvdocs.yml
@@ -5,6 +5,7 @@
- 'opnfvdocs-daily-master'
- 'opnfvdocs-merge'
- 'opnfvdocs-verify'
+ - 'opnfvdocs-build-docs'
# stream: branch with - in place of / (eg. stable-helium)
# branch: branch (eg. stable/helium)
@@ -180,6 +181,47 @@
+- job-template:
+ name: 'opnfvdocs-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: 'opnfvdocs'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/master'
+
+ builders:
+ - shell: |
+ !include-raw build-docu.sh