• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • sidebar-link-plugin
    • None

      I would like to add sidebar links to the build pages, not just the project page. It should allow expansion of build variables in the URL.

          [JENKINS-8600] allow adding sidebar links to build pages

          Marcus Better created issue -

          Alan Harder added a comment -

          For now you can click the "add description" link on the build page and place any HTML you like in the build description, including links..

          Alan Harder added a comment - For now you can click the "add description" link on the build page and place any HTML you like in the build description, including links..

          Miku Laitinen added a comment -

          This is just what I'm looking for .. I need to create a link to the build page which includes the build tag. I need it to start another job by passing the build tag as a parameter.

          Miku Laitinen added a comment - This is just what I'm looking for .. I need to create a link to the build page which includes the build tag. I need it to start another job by passing the build tag as a parameter.

          Alan Harder added a comment -

          Hi Miku- are you saying you want to run a build, then visit that build page and manually add a link like /job/otherjob/build?someparam=$BUILD_TAG ? This link then appears on the sidebar of that build page for someone to click later?

          Alan Harder added a comment - Hi Miku- are you saying you want to run a build, then visit that build page and manually add a link like /job/otherjob/build?someparam=$BUILD_TAG ? This link then appears on the sidebar of that build page for someone to click later?

          Marcus Better added a comment -

          This is how I intended the original request:

          • In the job configuration page, under "Sidebar Links", you would click "Add link".
          • In addition to the existing text fields for Link URL/Text/Icon, there would be a "Location" combo box, with options "Job" or "Build".
          • You select "Location: Build" and enter the URL "http://example.org/foo/$BUILD_NUMBER"

          Now after build #55, the build page will have a sidebar link pointing to http://example.org/foo/55, and so on. So variables are substituted from the build vars.

          Marcus Better added a comment - This is how I intended the original request: In the job configuration page, under "Sidebar Links", you would click "Add link". In addition to the existing text fields for Link URL/Text/Icon, there would be a "Location" combo box, with options "Job" or "Build". You select "Location: Build" and enter the URL "http://example.org/foo/$BUILD_NUMBER" Now after build #55, the build page will have a sidebar link pointing to http://example.org/foo/55 , and so on. So variables are substituted from the build vars.

          Alan Harder added a comment -

          Ok, so you'd like such links automatically added to every build.
          FYI, pretty recently a "configure" link was added on build pages, so it could be possible to manually add links on a specific build after it has run..

          Alan Harder added a comment - Ok, so you'd like such links automatically added to every build. FYI, pretty recently a "configure" link was added on build pages, so it could be possible to manually add links on a specific build after it has run..

          Miku Laitinen added a comment -

          Yes, just like Marcus said

          Miku Laitinen added a comment - Yes, just like Marcus said
          Alan Harder made changes -
          Assignee Original: Alan Harder [ mindless ]

          I wrote a plugin that allows you to add links from a text file to every build. It would help maybe.
          https://wiki.jenkins-ci.org/display/JENKINS/AnchorChain+plugin

          Alexey Lavrenuke added a comment - I wrote a plugin that allows you to add links from a text file to every build. It would help maybe. https://wiki.jenkins-ci.org/display/JENKINS/AnchorChain+plugin
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 138711 ] New: JNJira + In-Review [ 174963 ]

            Unassigned Unassigned
            mbetter Marcus Better
            Votes:
            8 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: