Merge "Modify logs publisher"
[ci-management.git] / jjb / hicn / hicn-docs.yaml
index 437596b..efd15f6 100644 (file)
@@ -1,3 +1,4 @@
+---
 - project:
     name: hicn-docs
     jobs:
     project-type: freestyle
     node: ubuntu1604-us
     concurrent: true
+    archive-artifacts: '**/build/lib/doc/html/*'
+    allow-empty: 'true'
+    fingerprint: false
+    only-if-success: true
+    default-excludes: false
 
     build-discarder:
       daysToKeep: '{build-days-to-keep}'
           maven-version: 'mvn33-new'
       - stream-parameter:
           stream: '{stream}'
+      - string:
+          name: ARCHIVE_ARTIFACTS
+          default: '{archive-artifacts}'
+          description: Artifacts to archive to the logs server.
 
     scm:
       - gerrit-trigger-scm:
@@ -61,7 +71,7 @@
       - maven-target:
           maven-version: 'mvn33-new'
           goals: '--version'
-          settings: 'vpp-settings'
+          settings: 'hicn-settings'
           settings-type: cfp
           global-settings: 'global-settings'
           global-settings-type: cfp
           !include-raw-escape: include-raw-hicn-docs.sh
 
     publishers:
-        - archive:
-            artifacts: 'build/lib/doc/html/*'
-            allow-empty: 'true'
-            fingerprint: false
-            only-if-success: true
-            default-excludes: false
-        - fdio-infra-shiplogs:
-            maven-version: 'mvn33-new'
-        - naginator:
-            rerun-unstable-builds: false
-            max-failed-builds: 1
-            fixed-delay: 90
+      - lf-infra-publish
+      - naginator:
+          rerun-unstable-builds: false
+          max-failed-builds: 1
+          fixed-delay: 90
 
 - job-template:
     name: 'hicn-docs-merge-{stream}'
     project-type: freestyle
     node: ubuntu1604-us
     concurrent: false
+    archive-artifacts: '**/build/lib/doc/html/*'
+    allow-empty: 'true'
+    fingerprint: false
+    only-if-success: true
+    default-excludes: false
 
     build-discarder:
       daysToKeep: '{build-days-to-keep}'
           maven-version: 'mvn33-new'
       - stream-parameter:
           stream: '{stream}'
+      - string:
+          name: ARCHIVE_ARTIFACTS
+          default: '{archive-artifacts}'
+          description: Artifacts to archive to the logs server.
 
     scm:
       - gerrit-trigger-scm:
       - maven-target:
           maven-version: 'mvn33-new'
           goals: '--version'
-          settings: 'vpp-settings'
+          settings: 'hicn-settings'
           settings-type: cfp
           global-settings: 'global-settings'
           global-settings-type: cfp
           !include-raw-escape: include-raw-hicn-docs.sh
 
     publishers:
-      - archive:
-          artifacts: 'build/lib/doc/html/*'
-          allow-empty: 'true'
-          fingerprint: false
-          only-if-success: true
-          default-excludes: false
-      - fdio-infra-shiplogs:
-          maven-version: 'mvn33-new'
+      - lf-infra-publish
       - naginator:
           rerun-unstable-builds: false
           max-failed-builds: 1