[jenkins-ci PATCH] projects: Reduce scope for local_env

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

 



The TEST_ARGS environment variable is only used when running
the test suite, which means that local_env can be moved to the
*-check-job instead of being at the top level.

Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 projects/libvirt-go-xml.yaml | 4 ++--
 projects/libvirt-go.yaml     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/projects/libvirt-go-xml.yaml b/projects/libvirt-go-xml.yaml
index 1f26751..8d9c16d 100644
--- a/projects/libvirt-go-xml.yaml
+++ b/projects/libvirt-go-xml.yaml
@@ -3,10 +3,10 @@
     name: libvirt-go-xml
     machines: '{all_machines}'
     title: Libvirt Go XML
-    local_env: |
-      export TEST_ARGS="-tags xmlroundtrip"
     jobs:
       - go-build-job:
           parent_jobs: 'libvirt-master-build'
       - go-check-job:
           parent_jobs: 'libvirt-go-xml-master-build'
+          local_env: |
+            export TEST_ARGS="-tags xmlroundtrip"
diff --git a/projects/libvirt-go.yaml b/projects/libvirt-go.yaml
index f40f523..f2eb87e 100644
--- a/projects/libvirt-go.yaml
+++ b/projects/libvirt-go.yaml
@@ -3,10 +3,10 @@
     name: libvirt-go
     machines: '{all_machines}'
     title: Libvirt Go
-    local_env: |
-      export TEST_ARGS="-tags api"
     jobs:
       - go-build-job:
           parent_jobs: 'libvirt-master-build'
       - go-check-job:
           parent_jobs: 'libvirt-go-master-build'
+          local_env: |
+            export TEST_ARGS="-tags api"
-- 
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