Modify TLDK archive artifacts 65/20865/1
authorVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
Thu, 25 Jul 2019 18:38:55 +0000 (13:38 -0500)
committerVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
Thu, 25 Jul 2019 18:38:55 +0000 (13:38 -0500)
Modify the TLDK artifacts to archive to the logs server rather than
Jenkins

Change-Id: I68aaf7e9889506a27dd4b33419cf11fe48b6af74
Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
jjb/tldk/tldk.yaml

index 282af55..d1d936a 100644 (file)
     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: ''