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

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

 



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@xxxxxxxxxx>
---
 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 ffcffcf..4ab065d 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 6bded5e..0e6f2a8 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

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