From 9e3490438cb7d3db875db732785bd3aca28cc5a3 Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Tue, 22 Dec 2015 21:30:12 +0100 Subject: use anchors to remove sidebar duplication --- job-cfg/torbrowser-launcher.yaml | 41 +++++++++++++--------------------------- 1 file 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 -- cgit v1.2.3-70-g09d2