Shihe Zhang
Shihe Zhang

Reputation: 2771

How to distinguish Jenkins credentials

Using Jenkins to create a freestyle project, when setting the repositories it asks to specify from Credentials, just like the following image shows.
Credentials

But how do people distinguish these credentials from all stars?

Upvotes: 1

Views: 63

Answers (2)

Sagar
Sagar

Reputation: 24917

Its normally distinct using combination of Username & Description provided during creation of credential

creation

In the dropdown it will appear as follows

testing

Upvotes: 1

Shihe Zhang
Shihe Zhang

Reputation: 2771

If access through items menu, click the small hidden triangle beside job name (you need to hover near the name to show the hidden triangle) will show Credentials action enter image description here

Or access the left menu Credential option after clicking the job name

enter image description here

Will lead to the same page. These credentials page is different from System Config -> Credentials is the credentials only for that job. Normally the ID will help you to distinguish the credentials, however, sometimes people (like me) didn't know it works this way. Then Jenkins would generate a random meaningless string to identify them, which can't help normal human to separate them with certainty. enter image description here

After clicking the link in Domain column, the description will be shown there, and you can also update it from that page.

Upvotes: 0

Related Questions