Modify HC2VPP archive artifacts 88/19988/4
authorVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
Wed, 5 Jun 2019 17:51:17 +0000 (12:51 -0500)
committerVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
Wed, 12 Jun 2019 20:42:19 +0000 (15:42 -0500)
Modify the HC2VPP artifacts to archive to the logs server rather than
Jenkins

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

index b06b5b5..a1f8482 100644 (file)
@@ -57,6 +57,9 @@
     project-type: freestyle
     node: '{os}-builder-4c-4g'
     concurrent: true
+    archive-artifacts: '**/csit/archive/*.*'
+    latest-only: false
+
 
     build-discarder:
       daysToKeep: '{build-days-to-keep}'
           os: '{os}'
       - stream-parameter:
           stream: '{stream}'
+      - string:
+          name: ARCHIVE_ARTIFACTS
+          default: '{archive-artifacts}'
+          description: Artifacts to archive to the logs server.
 
     scm:
       - git-scm:
@@ -91,9 +98,6 @@
           !include-raw-escape: include-raw-hc2vpp-csit-integration.sh
 
     publishers:
-      - archive-artifacts:
-          artifacts: 'csit/archive/*.*'
-          latest-only: false
       - email-notification:
           email-prefix: '[hc2vpp]'
 
     node: '{os}-builder-4c-4g'
     jdk: openjdk8-{os}
     concurrent: true
+    archive-artifacts: '**/csit/archive/*.*'
+    latest-only: false
 
     build-discarder:
       daysToKeep: '{build-days-to-keep}'
           stream: '{stream}'
       - odl-parameter:
           odl: '{odl}'
+      - string:
+          name: ARCHIVE_ARTIFACTS
+          default: '{archive-artifacts}'
+          description: Artifacts to archive to the logs server.
 
     scm:
       - gerrit-trigger-scm:
           !include-raw-escape: include-raw-hc2vpp-csit-verify.sh
 
     publishers:
-      - archive-artifacts:
-          artifacts: 'csit/archive/*.*'
-          latest-only: false
       - email-notification:
           email-prefix: '[hc2vpp]'
 
     project-type: freestyle
     node: '{os}-builder-4c-4g'
     concurrent: true
+    archive-artifacts: '**/csit/archive/*.*'
+    latest-only: false
+
 
     build-discarder:
       daysToKeep: '{build-days-to-keep}'
           stream: '{stream}'
       - odl-parameter:
           odl: '{odl}'
+      - string:
+          name: ARCHIVE_ARTIFACTS
+          default: '{archive-artifacts}'
+          description: Artifacts to archive to the logs server.
 
     scm:
       - git-scm:
           !include-raw-escape: include-raw-hc2vpp-csit-integration-odl.sh
 
     publishers:
-      - archive-artifacts:
-          artifacts: 'csit/archive/*.*'
-          latest-only: false
       - email-notification:
           email-prefix: '[hc2vpp]'
 
     node: '{os}-builder-4c-4g'
     jdk: openjdk8-{os}
     concurrent: true
+    archive-artifacts: '**/csit/archive/*.*'
+    latest-only: false
 
     build-discarder:
       daysToKeep: '{build-days-to-keep}'
       numToKeep: '{build-num-to-keep}'
       artifactDaysToKeep: '{build-artifact-days-to-keep}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
-
     parameters:
       - project-parameter:
           project: '{project}'
           stream: '{stream}'
       - odl-parameter:
           odl: '{odl}'
+      - string:
+          name: ARCHIVE_ARTIFACTS
+          default: '{archive-artifacts}'
+          description: Artifacts to archive to the logs server.
 
     scm:
       - gerrit-trigger-scm:
           !include-raw-escape: include-raw-hc2vpp-csit-verify-odl.sh
 
     publishers:
-      - archive-artifacts:
-          artifacts: 'csit/archive/*.*'
-          latest-only: false
       - email-notification:
           email-prefix: '[hc2vpp]'
 
     project-type: freestyle
     node: '{os}-builder-4c-4g'
     concurrent: false
+    archive-artifacts: '**/csit/archive/*.*'
+    latest-only: false
+
 
     build-discarder:
       daysToKeep: '{build-days-to-keep}'
           stream: '{stream}'
       - odl-parameter:
           odl: '{odl}'
-
+      - string:
+          name: ARCHIVE_ARTIFACTS
+          default: '{archive-artifacts}'
+          description: Artifacts to archive to the logs server.
     scm:
       - gerrit-trigger-scm:
           credentials-id: 'jenkins-gerrit-credentials'
           !include-raw-escape: include-raw-hc2vpp-csit-perf.sh
 
     publishers:
-      - archive-artifacts:
-          artifacts: 'csit/archive/*.*'
-          latest-only: false
-
       - robot-report:
           output-path: 'csit/archive'