Merge "Modify logs publisher"
[ci-management.git] / jjb / csit / csit-tox.yaml
index 2d6bcb7..49603a1 100644 (file)
@@ -14,6 +14,8 @@
           branch: 'rls1901'
       - '1904':
           branch: 'rls1904'
+      - '1908_1':
+          branch: 'rls1908_1'
 
 - job-template:
     name: 'csit-verify-tox-{stream}'
@@ -21,6 +23,9 @@
     project-type: freestyle
     node: ubuntu1804-us
     concurrent: true
+    archive-artifacts: '*.log'
+    latest-only: false
+
 
     build-discarder:
       daysToKeep: '{build-days-to-keep}'
       - gerrit-parameter:
           branch: '{branch}'
       - gerrit-refspec-parameter
+      - string:
+          name: ARCHIVE_ARTIFACTS
+          default: '{archive-artifacts}'
+          description: Artifacts to archive to the logs server.
 
     scm:
       - gerrit-trigger-scm:
@@ -55,9 +64,6 @@
           ./resources/libraries/bash/entry/tox.sh
 
     publishers:
-      - archive-artifacts:
-          artifacts: '*.log'
-          latest-only: false
       # TODO: Remove this when a voting pylint difference checker
       # with nice enough output is implemented.
       - violations: