Jenkinsfile/pipeline with credentials

4,978 views
Skip to first unread message

Gavin Mogan

unread,
Apr 18, 2016, 5:34:40 PM4/18/16
to Jenkins Users
Hi

I'm trying to make up jenkinsfile's for some of our public examples. I'm trying to figure out how the best way to handle credentials are. By default credentials are guids. Do credentials have a alias system? Or is the best way just to say "for this to work, you need a credential with the idea of "master-dev"".

Gavin

Daniel Beck

unread,
Apr 18, 2016, 5:51:57 PM4/18/16
to jenkins...@googlegroups.com

> On 18.04.2016, at 23:34, Gavin Mogan <ga...@gavinmogan.com> wrote:
>
> I'm trying to figure out how the best way to handle credentials are. By default credentials are guids. Do credentials have a alias system?

When you create the credential, click 'Advanced', then specify the ID you want to use. May need an update of the Credentials plugin to 1.21 or newer.

Patrick Wolf

unread,
Apr 18, 2016, 10:24:15 PM4/18/16
to jenkins...@googlegroups.com


--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/B78AD238-941B-4274-9F2A-65D4DD15C2F3%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.



--

Patrick Wolf
Sr. Product Manager
CloudBees
Reply all
Reply to author
Forward
0 new messages