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

[libvirt] [jenkins-ci PATCH v2 04/13] jobs: Move some parameters from jobs to defaults



The affected parameters are autogen_args, command and
command_pre_build.

Moving their default value next to the other overridable
defaults makes sense, and it will help us out later.

Signed-off-by: Andrea Bolognani <abologna redhat com>
---
 jobs/autotools.yaml        | 1 -
 jobs/defaults.yaml         | 3 +++
 jobs/generic.yaml          | 1 -
 jobs/go.yaml               | 1 -
 jobs/perl-modulebuild.yaml | 1 -
 jobs/python-distutils.yaml | 1 -
 6 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/jobs/autotools.yaml b/jobs/autotools.yaml
index cbd870a..f41bc4b 100644
--- a/jobs/autotools.yaml
+++ b/jobs/autotools.yaml
@@ -4,7 +4,6 @@
     name: '{name}-{branch}-build{variant}'
     project-type: matrix
     description: '{title} Build'
-    autogen_args: ''
     workspace: '{name}-{branch}{variant}'
     child-workspace: '.'
     block-downstream: true
diff --git a/jobs/defaults.yaml b/jobs/defaults.yaml
index de56226..11fb086 100644
--- a/jobs/defaults.yaml
+++ b/jobs/defaults.yaml
@@ -22,6 +22,9 @@
       - libvirt-fedora-rawhide
     global_env: |
     local_env: |
+    autogen_args: ''
+    command: ''
+    command_pre_build: ''
     mingw32_local_env: |
       export VIRT_PREFIX="$VIRT_PREFIX/i686-w64-mingw32/sys-root/mingw"
       export PKG_CONFIG_PATH="$VIRT_PREFIX/lib/pkgconfig"
diff --git a/jobs/generic.yaml b/jobs/generic.yaml
index 48bec23..805b1d6 100644
--- a/jobs/generic.yaml
+++ b/jobs/generic.yaml
@@ -4,7 +4,6 @@
     name: '{name}-{branch}-build{variant}'
     project-type: matrix
     description: '{title} Build'
-    autogen_args: ''
     workspace: '{name}-{branch}{variant}'
     child-workspace: '.'
     block-downstream: true
diff --git a/jobs/go.yaml b/jobs/go.yaml
index 77c931b..b460658 100644
--- a/jobs/go.yaml
+++ b/jobs/go.yaml
@@ -4,7 +4,6 @@
     name: '{name}-{branch}-build{variant}'
     project-type: matrix
     description: '{title} Build'
-    autogen_args: ''
     workspace: '{name}-{branch}{variant}'
     child-workspace: '.'
     block-downstream: true
diff --git a/jobs/perl-modulebuild.yaml b/jobs/perl-modulebuild.yaml
index fdd0817..97f694d 100644
--- a/jobs/perl-modulebuild.yaml
+++ b/jobs/perl-modulebuild.yaml
@@ -4,7 +4,6 @@
     name: '{name}-{branch}-build{variant}'
     project-type: matrix
     description: '{title} Build'
-    autogen_args: ''
     workspace: '{name}-{branch}{variant}'
     child-workspace: '.'
     block-downstream: true
diff --git a/jobs/python-distutils.yaml b/jobs/python-distutils.yaml
index b5dc995..ddd149d 100644
--- a/jobs/python-distutils.yaml
+++ b/jobs/python-distutils.yaml
@@ -4,7 +4,6 @@
     name: '{name}-{branch}-build{variant}'
     project-type: matrix
     description: '{title} Build'
-    command_pre_build: ''
     workspace: '{name}-{branch}{variant}'
     child-workspace: '.'
     block-downstream: true
-- 
2.17.1


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