[jenkins-ci PATCH 2/5] jobs: Move check_env defaults

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

 



We have a place specifically for defaults, so make use of it
instead of setting the default in two separate places.

Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 jobs/autotools.yaml | 1 -
 jobs/defaults.yaml  | 1 +
 jobs/go.yaml        | 1 -
 3 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/jobs/autotools.yaml b/jobs/autotools.yaml
index 3e4fdc2..19f62be 100644
--- a/jobs/autotools.yaml
+++ b/jobs/autotools.yaml
@@ -95,7 +95,6 @@
     name: '{name}-{branch}-check'
     project-type: matrix
     description: '{title} Check'
-    check_env: ''
     workspace: '{name}-{branch}'
     child-workspace: '.'
     block-downstream: true
diff --git a/jobs/defaults.yaml b/jobs/defaults.yaml
index 7180c13..0e628bb 100644
--- a/jobs/defaults.yaml
+++ b/jobs/defaults.yaml
@@ -9,5 +9,6 @@
       if [ "$unamestr" = 'FreeBSD' ]; then
           MAKE='gmake'
       fi
+    check_env: |
     smp: 3
     spam: ymankad@xxxxxxxxxx libvirt-ci@xxxxxxxxxx
diff --git a/jobs/go.yaml b/jobs/go.yaml
index e63846d..8eee6af 100644
--- a/jobs/go.yaml
+++ b/jobs/go.yaml
@@ -52,7 +52,6 @@
     name: '{name}-{branch}-check'
     project-type: matrix
     description: '{title} Check'
-    check_env: ''
     workspace: '{name}-{branch}'
     child-workspace: '.'
     block-downstream: true
-- 
2.13.6

--
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