[jenkins-ci PATCH 2/2] projects: Define archive_format for osinfo-db

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Follow the standard templating behavior instead of needlessly
hardcoding information in the script.

Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 projects/osinfo-db.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/projects/osinfo-db.yaml b/projects/osinfo-db.yaml
index 0d0a972..9e22c93 100644
--- a/projects/osinfo-db.yaml
+++ b/projects/osinfo-db.yaml
@@ -3,6 +3,7 @@
     name: osinfo-db
     machines: '{all_machines}'
     title: osinfo database
+    archive_format: xz
     jobs:
       - generic-build-job:
           parent_jobs: 'osinfo-db-tools-master-build'
@@ -17,7 +18,7 @@
           parent_jobs: 'osinfo-db-master-check'
           machines: '{rpm_machines}'
           command: |
-            rm -f *.tar.xz
+            rm -f *.tar.{archive_format}
             $MAKE osinfo-db.spec
             perl -i -p -e 's/BuildRequires: osinfo-db-tools.*//' osinfo-db.spec
             $MAKE rpm
-- 
2.17.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux