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

[libvirt] [jenkins-ci PATCH 4/7] jobs: projects: be explicit about python2 binary



Signed-off-by: Pavel Hrdina <phrdina redhat com>
---
 jobs/python-distutils.yaml | 8 ++++----
 projects/virt-manager.yaml | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/jobs/python-distutils.yaml b/jobs/python-distutils.yaml
index b7dbb1d..7055d26 100644
--- a/jobs/python-distutils.yaml
+++ b/jobs/python-distutils.yaml
@@ -41,8 +41,8 @@
     builders:
       - shell: |
           {command_pre_build}
-          python setup.py build
-          python setup.py install --prefix=$VIRT_PREFIX
+          python2 setup.py build
+          python2 setup.py install --prefix=$VIRT_PREFIX
     publishers:
       - email:
           recipients: '{obj:spam}'
@@ -79,7 +79,7 @@
           values: '{obj:machines}'
     builders:
       - shell: |
-          python setup.py test
+          python2 setup.py test
     publishers:
       - email:
           recipients: '{obj:spam}'
@@ -116,7 +116,7 @@
     builders:
       - shell: |
           sed -i -e 's/BuildRequires: libvirt.*devel.*//' *.spec.in
-          python setup.py rpm
+          python2 setup.py rpm
     publishers:
       - email:
           recipients: '{obj:spam}'
diff --git a/projects/virt-manager.yaml b/projects/virt-manager.yaml
index 2f65b47..63458c5 100644
--- a/projects/virt-manager.yaml
+++ b/projects/virt-manager.yaml
@@ -17,7 +17,7 @@
             - 'libvirt-python-master-build'
             - 'libosinfo-master-build'
           command_pre_build: |
-            python setup.py configure --prefix=$VIRT_PREFIX
+            python2 setup.py configure --prefix=$VIRT_PREFIX
       - python-distutils-check-job:
           parent_jobs: 'virt-manager-master-build'
       - python-distutils-rpm-job:
-- 
2.13.6


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