Links in the side panels are implementations of Action. And you can add
transient actions to jobs via the TransientActionFactory<Job> extension
point.

In Jenkins 2.0 the Global Tool Configuration got put on a separate
configuration page, like what has happened earlier with the Global Security
Configuration.
Those pages are implementations of ManagementLink which extends Action. So
you could try to just return that management link from your
TransientActionFactory if the user has admin access.

/B

On Wed, May 4, 2016 at 10:26 PM, Martin Weber <fifteenknots...@gmail.com>
wrote:

> Hi all,
>
> I want to create a HTML-link on the job configuration page that directly
> points to the corresponding tool installation section on *global*
> configuration page. (Well, yes, this is teamcity inspired:-)
>
> I know that
> '${rootURL}/configure'
> points to the config page, but how do I get the anchor on that page that
> directly points to (for example) 'Maven installations' section?
>
> From the breadcumb navigation on the config page, the URL would be
> 'http://localhost:8080/jenkins/configure#section45' on my jenkins
> instance,
> but that seems to be very instance-specific.
>
> In my case, I would like to get the URL of the config section contributed
> by
> Java class "hudson.plugins.cmake.CmakeTool extends ToolInstallation".
>
> TIA,
>         Martin
>
> --
> Cd wrttn wtht vwls s mch trsr.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/4219326.MqEhROkAH0%40linux
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Robert Sandell
*Software Engineer*
*CloudBees Inc.*

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CALzHZS3QjDFpZXBmT2Ajm64T4H3XoY4wiQd7EiH-xzBbOx_1_w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to