Probably the git plugin had not set the allow parameter expression
attribute on the select tag on jelly

On Friday 30 September 2016, Andrew Pashkin <[email protected]>
wrote:

> Hello, everybody!
>
> I'm using Git Plugin
> <https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin> for my project
> and it's possible to parametrize many of it's options though the regular
> way of using environment variables substitution, like " Repository URL:
> ${MY_PARAMETER}". But this is not the case for the "Credentials" parameter
> - it's a dropdown and it's impossible to parametrize it.
>
> So my problem is - how to parametrize "Credentials" parameter, to make
> user be able to set it though "Build with parameters" UI?
>
> p.s.
>
> I also use Active Choices Plugin
> <https://wiki.jenkins-ci.org/display/JENKINS/Active+Choices+Plugin>,
> which allows you to generate parameters for a job using Groovy scripts. If
> it's impossible to parametrize "Credentials" in a regular way, maybe it's
> possible to set it using Java API? So I would be able to write in my script
> something like jenkinsProject.setSetting('credentialsID',
> 'c9a78310-3bae-4747-b964-aff9a451c513')?
>
> --
> With kind regards, Andrew Pashkin.
> cell phone - +375 (44) 492-16-85
> Skype - waves_in_fluids
> e-mail - [email protected] 
> <javascript:_e(%7B%7D,'cvml','[email protected]');>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected]
> <javascript:_e(%7B%7D,'cvml','jenkinsci-users%[email protected]');>
> .
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-users/c6040f76-baba-064d-ae75-05471dd2d071%40gmx.co.uk
> <https://groups.google.com/d/msgid/jenkinsci-users/c6040f76-baba-064d-ae75-05471dd2d071%40gmx.co.uk?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Sent from my phone

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMy3iu7u%3DtGjiofh4400sK-5NrFMTwWJfiAxDjagckA-dQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to