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

[libvirt] [jenkins-ci PATCH 5/5] jobs: Include $PATH definition in {global_env}



$PATH is generic enough that it shouldn't be limited to the
osinfo-db project.

Signed-off-by: Andrea Bolognani <abologna redhat com>
---
 jobs/defaults.yaml      | 1 +
 projects/osinfo-db.yaml | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/jobs/defaults.yaml b/jobs/defaults.yaml
index 86e7100..7b2c040 100644
--- a/jobs/defaults.yaml
+++ b/jobs/defaults.yaml
@@ -9,6 +9,7 @@
       if [ "$unamestr" = 'FreeBSD' ]; then
           MAKE='gmake'
       fi
+      export PATH=$VIRT_PREFIX/bin:$PATH
     env: |
     smp: 3
     spam: ymankad redhat com libvirt-ci redhat com
diff --git a/projects/osinfo-db.yaml b/projects/osinfo-db.yaml
index 95ad845..2a9cab2 100644
--- a/projects/osinfo-db.yaml
+++ b/projects/osinfo-db.yaml
@@ -15,7 +15,6 @@
       - generic-build-job:
           parent_jobs: 'osinfo-db-tools-master-build'
           command: |
-            export PATH=$VIRT_PREFIX/bin:$PATH
             $MAKE -j{smp} all
             $MAKE install OSINFO_DB_TARGET="--system"
       - generic-rpm-job:
@@ -26,7 +25,6 @@
             - libvirt-fedora-26
             - libvirt-fedora-rawhide
           command: |
-            export PATH=$VIRT_PREFIX/bin:$PATH
             rm -f *.tar.xz
             $MAKE osinfo-db.spec
             perl -i -p -e 's/BuildRequires: osinfo-db-tools.*//' osinfo-db.spec
-- 
2.14.3


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