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

Andrea Bolognani abologna at redhat.com
Thu May 10 13:03:49 UTC 2018


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 at redhat.com>
---
 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




More information about the libvir-list mailing list