The check_env was used only for "make check" but there might be some
environment variables that needs to be configured for more than one
job of the same project.
Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
jobs/autotools.yaml | 2 +-
jobs/defaults.yaml | 2 +-
projects/libosinfo.yaml | 2 +-
projects/libvirt.yaml | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/jobs/autotools.yaml b/jobs/autotools.yaml
index 19f62be..9ed5efe 100644
--- a/jobs/autotools.yaml
+++ b/jobs/autotools.yaml
@@ -120,7 +120,7 @@
builders:
- shell: |
{make_env}
- {check_env}
+ {job_env}
cd build
if ! $MAKE -j{smp} check
then
diff --git a/jobs/defaults.yaml b/jobs/defaults.yaml
index 0e628bb..43face2 100644
--- a/jobs/defaults.yaml
+++ b/jobs/defaults.yaml
@@ -9,6 +9,6 @@
if [ "$unamestr" = 'FreeBSD' ]; then
MAKE='gmake'
fi
- check_env: |
+ job_env: |
smp: 3
spam: ymankad(a)redhat.com libvirt-ci(a)redhat.com
diff --git a/projects/libosinfo.yaml b/projects/libosinfo.yaml
index 9ab2281..a02246f 100644
--- a/projects/libosinfo.yaml
+++ b/projects/libosinfo.yaml
@@ -11,7 +11,7 @@
- libvirt-freebsd-10
- libvirt-freebsd-11
title: libosinfo
- check_env: |
+ job_env: |
export OSINFO_SYSTEM_DIR=$VIRT_PREFIX/share/osinfo
jobs:
- autotools-build-job:
diff --git a/projects/libvirt.yaml b/projects/libvirt.yaml
index 5661066..459aa17 100644
--- a/projects/libvirt.yaml
+++ b/projects/libvirt.yaml
@@ -28,7 +28,7 @@
parent_jobs: 'libvirt-master-build'
- autotools-check-job:
parent_jobs: 'libvirt-master-syntax-check'
- check_env: |
+ job_env: |
export VIR_TEST_EXPENSIVE=1
export VIR_TEST_DEBUG=2
- autotools-rpm-job:
--
2.13.6