[Qa-jenkins-scm] [jenkins.debian.net] 01/01: use anchors to remove sidebar duplication

Holger Levsen holger at moszumanska.debian.org
Tue Dec 22 23:17:02 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 9e3490438cb7d3db875db732785bd3aca28cc5a3
Author: Philip Hands <phil at hands.com>
Date:   Tue Dec 22 21:30:12 2015 +0100

    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 3f29e4b..f24415e 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list