Merge "Migrate docs-rtd to archive-builds macro"
[releng/builder.git] / jjb / docs / docs-rtd.yaml
index afa5a496e8ec471330c6c9afa810fa4a840c0552..f480ed5d1abe919865549c9eefe4b42fcbbd9e59 100644 (file)
@@ -7,6 +7,8 @@
     stream:
         - boron:
             branch: 'master'
+        - beryllium:
+            branch: 'stable/beryllium'
 
     project: 'docs'
     rtdproject: 'opendaylight'
         daysToKeep: 14
 
     parameters:
-        - project-parameter:
-            project: '{project}'
-        - gerrit-parameters:
+        - opendaylight-infra-parameters:
             project: '{project}'
             branch: '{branch}'
             refspec: 'refs/heads/{branch}'
+            artifacts: '{archive-artifacts}'
 
     wrappers:
-        - ssh-agent-credentials:
-            users:
-                - '{ssh-credentials}'
+        - opendaylight-infra-wrappers:
+            build-timeout: '30'
 
     triggers:
         - gerrit:
@@ -57,6 +57,8 @@
     publishers:
         - email-notification:
             email-prefix: '[docs]'
+        - archive-build:
+            maven-version: '{mvn33}'
 
 - job-template:
     name: 'docs-verify-rtd-{stream}'
         daysToKeep: 14
 
     parameters:
-        - project-parameter:
-            project: '{project}'
-        - gerrit-parameters:
+        - opendaylight-infra-parameters:
             project: '{project}'
             branch: '{branch}'
             refspec: 'refs/heads/{branch}'
+            artifacts: '{archive-artifacts}'
 
     scm:
         - git-scm-with-submodules:
-            credentials-id: '{ssh-credentials}'
             branch: '{branch}'
 
     wrappers:
-        - ssh-agent-credentials:
-            users:
-                - '{ssh-credentials}'
+        - opendaylight-infra-wrappers:
+            build-timeout: '{build-timeout}'
 
     triggers:
         - gerrit:
                 file-paths:
                     - compare-type: ANT
                       pattern: docs/**
+        - timed: 'H H * * *'
 
     builders:
         - shell: |
     publishers:
         - email-notification:
             email-prefix: '[docs]'
+        - archive-build:
+            maven-version: '{mvn33}'