Problem Scenario
You want to use the credentials from the Jenkins credentials plugin in a Jenkins pipeline. When you assign the credentials to a variable in a pipeline, is it the username, the password, both or something else?
Solution
It is the username and password, but the two are separated by a colon. You will only see "****" in the console output (for security reasons). Here is an example: jdoe:goodP@$$w0rd!
The above is an example with a username of jdoe and a password of goodP@$$w0rd!