Copy log and prop files to archives 53/43753/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 11 Aug 2016 19:10:37 +0000 (15:10 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 11 Aug 2016 19:16:55 +0000 (15:16 -0400)
autorelease-release job was missing some needed log files so copy them
into the archives directory to make sure they get archived.

Also dedup archive-artifacts parameter.

Change-Id: I1fc74e0a8d98356e7114844140f72c2629a0cd4e
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/autorelease/autorelease-projects.yaml
jjb/autorelease/autorelease-templates.yaml

index 5b91273a1e13382e46e3c468cf3cafe51774260d..6cb0043ebd632519a967bc6339084df4b9c7ad9a 100644 (file)
@@ -29,4 +29,4 @@
         integration-test: stable-lithium
 
     project: 'releng/autorelease'
-    archive-artifacts: '**/*.prop **/*.log **/patches/*.bundle **/patches/*.patch **/patches/*.log **/*.log project-reports/*.log'
+    archive-artifacts: '**/*.prop **/*.log **/patches/*.bundle **/patches/*.patch'
index 348432d0987dbd01df36586d40e60e3718a04fe7..bdfa06a7123504fa52c1db09a1ecb904bb13b719 100644 (file)
@@ -73,6 +73,9 @@
             global-settings: 'odl-global-settings'
         - autorelease-maven-sources-post-process
         - autorelease-sys-stats
+        - shell: |
+            mkdir -p archives/
+            cp *.log *.prop $_
 
     publishers:
     - email-notification: