summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@debian.org>2017-05-17 10:06:49 +0200
committerHolger Levsen <holger@layer-acht.org>2017-05-18 02:06:40 +0200
commit6bee9a1428ad764c946eff946e983bfd128adb64 (patch)
tree22968ef771ddc74a1ff51ce97f2833e92e2c86fc
parent1943e397f9158c3ece247e53df2763a27831bfaa (diff)
downloadjenkins.debian.net-6bee9a1428ad764c946eff946e983bfd128adb64.tar.xz
reproducible: DRY the sidebar property
Signed-off-by: Mattia Rizzolo <mattia@debian.org> Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rw-r--r--job-cfg/reproducible.yaml27
1 files changed, 6 insertions, 21 deletions
diff --git a/job-cfg/reproducible.yaml b/job-cfg/reproducible.yaml
index da0b71cb..5be0ab98 100644
--- a/job-cfg/reproducible.yaml
+++ b/job-cfg/reproducible.yaml
@@ -3,7 +3,7 @@
project-type: freestyle
my_disabled:
disabled: '{obj:my_disabled}'
- properties:
+ properties: &sidebar
- sidebar: &sb1
url: https://jenkins.debian.net/userContent/about.html
text: About jenkins.debian.net
@@ -40,11 +40,8 @@
project-type: freestyle
my_disabled:
disabled: '{obj:my_disabled}'
- properties:
- - sidebar: *sb1
- - sidebar: *sb2
- - sidebar: *sb3
description: *desc
+ properties: *sidebar
triggers:
- timed: '{my_timed}'
- pollscm:
@@ -111,10 +108,7 @@
my_disabled:
disabled: '{obj:my_disabled}'
description: *desc
- properties:
- - sidebar: *sb1
- - sidebar: *sb2
- - sidebar: *sb3
+ properties: *sidebar
triggers:
- timed: '{my_timed}'
logrotate:
@@ -139,10 +133,7 @@
my_disabled:
disabled: '{obj:my_disabled}'
description: *desc
- properties:
- - sidebar: *sb1
- - sidebar: *sb2
- - sidebar: *sb3
+ properties: *sidebar
triggers:
- timed: '{my_timed}'
- pollscm:
@@ -179,10 +170,7 @@
my_disabled:
disabled: '{obj:my_disabled}'
description: *desc
- properties:
- - sidebar: *sb1
- - sidebar: *sb2
- - sidebar: *sb3
+ properties: *sidebar
triggers:
- timed: '{my_timed}'
logrotate:
@@ -209,10 +197,7 @@
my_disabled:
disabled: '{obj:my_disabled}'
description: *desc
- properties:
- - sidebar: *sb1
- - sidebar: *sb2
- - sidebar: *sb3
+ properties: *sidebar
triggers:
- timed: '{my_timed}'
logrotate: