[libvirt] [jenkins-ci PATCH] projects: Port libvirt-cim to autotools-*-job

Andrea Bolognani abologna at redhat.com
Thu Nov 16 17:14:47 UTC 2017


Now that libvirt-cim's autogen.sh script has been changed to
be compatible with the ones used by other libvirt-related
project, we can drop the ad-hoc rules used to build it and
adopt the standard autotools-*-job rules instead.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
Not to be pushed until

  https://www.redhat.com/archives/libvir-list/2017-November/msg00675.html

has been merged into libvirt-cim.

 projects/libvirt-cim.yaml | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

diff --git a/projects/libvirt-cim.yaml b/projects/libvirt-cim.yaml
index b5405f3..d09db86 100644
--- a/projects/libvirt-cim.yaml
+++ b/projects/libvirt-cim.yaml
@@ -9,17 +9,7 @@
       - libvirt-fedora-rawhide
     title: libvirt CIM
     jobs:
-      - generic-build-job:
+      - autotools-build-job:
           parent_jobs: 'libvirt-master-build'
-          command: |
-            {make_env}
-            ./autogen.sh
-            ./configure --prefix=$VIRT_PREFIX
-            $MAKE -j{smp}
-            $MAKE -j{smp} install
-      - generic-rpm-job:
+      - autotools-rpm-job:
           parent_jobs: 'libvirt-cim-master-build'
-          command: |
-            {make_env}
-            sed -i -e "s/.*libvirt-devel.*//" libvirt-cim.spec.in
-            $MAKE -j{smp} rpm
-- 
2.14.3




More information about the libvir-list mailing list