summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2015-12-22 21:30:12 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-23 00:16:23 +0100
commit9e3490438cb7d3db875db732785bd3aca28cc5a3 (patch)
tree8cd0ab9b08cf86fd3c2595b216ccc4ff762438e5
parentb09f9a89cc4fb1184f9b036f3a577f90cd57a72d (diff)
downloadjenkins.debian.net-9e3490438cb7d3db875db732785bd3aca28cc5a3.tar.xz
use anchors to remove sidebar duplication
-rw-r--r--job-cfg/torbrowser-launcher.yaml41
1 files changed, 13 insertions, 28 deletions
diff --git a/job-cfg/torbrowser-launcher.yaml b/job-cfg/torbrowser-launcher.yaml
index 3f29e4b6..f24415e5 100644
--- a/job-cfg/torbrowser-launcher.yaml
+++ b/job-cfg/torbrowser-launcher.yaml
@@ -3,16 +3,17 @@
project-type: freestyle
triggers:
- timed: '{my_timed}'
+ sb_desc: torbrowser-launcher builds
properties:
- - sidebar:
+ - sidebar: &sb01
url: https://jenkins.debian.net/userContent/about.html
text: About jenkins.debian.net
icon: /userContent/images/debian-swirl-24x24.png
- - sidebar:
+ - sidebar: &sb10
url: https://jenkins.debian.net/view/torbrowser-launcher
- text: torbrowser-launcher builds jobs
+ text: '{sb_desc} jobs'
icon: /userContent/images/debian-jenkins-24x24.png
- - sidebar:
+ - sidebar: &sb99
url: http://www.profitbricks.co.uk
text: Sponsored by Profitbricks
icon: /userContent/images/profitbricks-24x24.png
@@ -39,19 +40,11 @@
triggers:
- pollscm: '*/6 * * * *'
- timed: '{my_timed}'
+ sb_desc: torbrowser-launcher
properties:
- - sidebar:
- url: https://jenkins.debian.net/userContent/about.html
- text: About jenkins.debian.net
- icon: /userContent/images/debian-swirl-24x24.png
- - sidebar:
- url: https://jenkins.debian.net/view/torbrowser-launcher
- text: torbrowser-launcher jobs
- icon: /userContent/images/debian-jenkins-24x24.png
- - sidebar:
- url: http://www.profitbricks.co.uk
- text: Sponsored by Profitbricks
- icon: /userContent/images/profitbricks-24x24.png
+ - sidebar: *sb01
+ - sidebar: *sb10
+ - sidebar: *sb99
- throttle:
max-total: 3
max-per-node: 1
@@ -95,19 +88,11 @@
project-type: freestyle
triggers:
- timed: '{my_timed}'
+ sb_desc: torbrowser-launcher
properties:
- - sidebar:
- url: https://jenkins.debian.net/userContent/about.html
- text: About jenkins.debian.net
- icon: /userContent/images/debian-swirl-24x24.png
- - sidebar:
- url: https://jenkins.debian.net/view/torbrowser-launcher
- text: torbrowser-launcher jobs
- icon: /userContent/images/debian-jenkins-24x24.png
- - sidebar:
- url: http://www.profitbricks.co.uk
- text: Sponsored by Profitbricks
- icon: /userContent/images/profitbricks-24x24.png
+ - sidebar: *sb01
+ - sidebar: *sb10
+ - sidebar: *sb99
- throttle:
max-total: 3
max-per-node: 1