Merge "Modify logs publisher"
[ci-management.git] / jjb / tldk / tldk.yaml
index 13fed26..5380ce9 100644 (file)
       - master:
           branch: 'master'
 
+- project:
+    name: tldk-view
+    view:
+      - project-view
+    project-name: tldk
+
 - job-template:
     name: '{project}-verify-{stream}-{os}'
 
@@ -72,8 +78,7 @@
           !include-raw-escape: include-raw-build.sh
 
     publishers:
-      - fdio-infra-shiplogs:
-          maven-version: 'mvn33-new'
+      - lf-infra-publish
 
 - job-template:
     name: '{project}-verify-image-{stream}-{os}'
           !include-raw-escape: include-raw-build.sh
 
     publishers:
-      - fdio-infra-shiplogs:
-          maven-version: 'mvn33-new'
+      - lf-infra-publish
 
 - job-template:
     name: '{project}-merge-{stream}-{os}'
 
     project-type: freestyle
     node: '{os}-basebuild-4c-4g'
-
     build-discarder:
       daysToKeep: '{build-days-to-keep}'
       numToKeep: '{build-num-to-keep}'
           !include-raw-escape: include-raw-build.sh
 
     publishers:
-      - fdio-infra-shiplogs:
-          maven-version: 'mvn33-new'
+      - lf-infra-publish
 
 - job-template:
     name: 'tldk-csit-verify-func-{stream}-{os}-virl'
     project-type: freestyle
     node: '{os}-basebuild-4c-4g'
     concurrent: true
+    archive-artifacts: >
+      **/csit/report.html
+      **/csit/log.html
+      **/csit/output.xml
+    latest-only: false
 
     build-discarder:
       daysToKeep: '{build-days-to-keep}'
           project: '{project}'
       - gerrit-parameter:
           branch: '{branch}'
+      - string:
+          name: ARCHIVE_ARTIFACTS
+          default: '{archive-artifacts}'
+          description: Artifacts to archive to the logs server.
 
     scm:
       - gerrit-trigger-scm:
           !include-raw-escape: include-raw-tldk-csit-functional-virl.sh
 
     publishers:
-      - archive-artifacts:
-          artifacts: 'csit/report.html, csit/log.html, csit/output.xml'
-          latest-only: false
-
       - robot-report:
           output-path: ''
+      - lf-infra-publish
 
-      - fdio-infra-shiplogs:
-          maven-version: 'mvn33-new'
+- project:
+    name: tldk-info
+    project-name: tldk
+    jobs:
+      - gerrit-info-yaml-verify
+    build-node: centos7-builder-4c-4g
+    project: tldk
+    branch: master