Follow the given steps to create credentials inside Jenkins to talk to Artifactory:
- From the Jenkins dashboard, click on Credentials | System | Global credentials (unrestricted).
- Click on the Add Credentials link on the left-hand side menu to create a new credential (see the following screenshot).
- Choose Kind as Username with Password.
- Leave the Scope field to its default value.
- Add the Artifactory username under the Username field.
- Under the Password field, add the password.
- Add an ID under the ID field and a description under the Description field.
- Once done, click on the OK button:
Adding ...