Fix Sweetcomb archive artifact 64/20864/1
authorVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
Thu, 25 Jul 2019 18:33:04 +0000 (13:33 -0500)
committerVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
Thu, 25 Jul 2019 18:33:04 +0000 (13:33 -0500)
Moving the archive-artifact macro to the correct location

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

index 3f58ccd..803a781 100644 (file)
@@ -20,7 +20,7 @@
     jobs:
       - 'sweetcomb-verify-{stream}-{os}'
       - 'sweetcomb-merge-{stream}-{os}'
-      #- 'sweetcomb-test-{stream}-ubuntu1604'
+      # - 'sweetcomb-test-{stream}-ubuntu1604'
 
     project: 'sweetcomb'
     os:
     project-type: freestyle
     node: '{os}-us'
     concurrent: true
+    archive-artifacts: >
+      **/build-root/build-package/*.rpm
+      **/build-root/build-package/*.deb
+    allow-empty: 'true'
+    fingerprint: false
+    only-if-success: true
+    default-excludes: false
 
     build-discarder:
       daysToKeep: '{build-days-to-keep}'
       artifactDaysToKeep: '{build-artifact-days-to-keep}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
-      archive-artifacts: >
-          **/build-root/build-package/*.rpm
-          **/build-root/build-package/*.deb
-      allow-empty: 'true'
-      fingerprint: false
-      only-if-success: true
-      default-excludes: false
-
     parameters:
       - project-parameter:
           project: '{project}'
 
     project-type: freestyle
     node: '{os}-us'
+    archive-artifacts: >
+      **/build-root/build-package/*.rpm
+      **/build-root/build-package/*.deb
+    allow-empty: 'true'
+    fingerprint: false
+    only-if-success: true
+    default-excludes: false
 
     build-discarder:
       daysToKeep: '{build-days-to-keep}'
       artifactDaysToKeep: '{build-artifact-days-to-keep}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
-    archive-artifacts: >
-        **/build-root/build-package/*.rpm
-        **/build-root/build-package/*.deb
-    allow-empty: 'true'
-    fingerprint: false
-    only-if-success: true
-    default-excludes: false
-
     parameters:
       - project-parameter:
           project: '{project}'
       artifactDaysToKeep: '{build-artifact-days-to-keep}'
       artifactNumToKeep: '{build-artifact-num-to-keep}'
 
-    archive-artifacts: >
-    allow-empty: 'true'
-    fingerprint: false
-    only-if-success: true
-    default-excludes: false
-
     parameters:
       - project-parameter:
           project: '{project}'