JFrog Artifactory Credentials in Jenkins: A Step-by-Step Guide
Setting up JFrog Artifactory credentials in Jenkins is a crucial step for automating the management of artifacts and ensuring smooth integration between Jenkins and Artifactory. Whether you’re working with DevOps, DevSecOps, or DataOps, this configuration helps establish secure communication between Jenkins and your artifact repository.
In this guide, we’ll show you exactly how to create Artifactory credentials, install the plugin, and configure Jenkins to work seamlessly with Artifactory.

Step 1: Create JFrog Artifactory Credentials in Jenkins
To begin, you need to create JFrog Artifactory credentials to authenticate with your Artifactory server.
- From the Jenkins dashboard, navigate to Credentials, then System, and click on Global credentials (unrestricted).
- On the left-hand menu, click Add Credentials to create a new credential.
- Set Kind to Username with Password.
- Keep the Scope field as Global.
- In the Username field, enter your Artifactory username (e.g.,
admin). - In the Password field, input the password associated with your Artifactory account.
- Set a descriptive ID (e.g.,
artifactory-account) to easily identify the credentials. - Provide a Description (e.g., credentials to access Artifactory server).
- Click OK to save the credentials.
Step 2: Install the JFrog Artifactory Plugin in Jenkins
Next, you need to install the JFrog Artifactory plugin in Jenkins for easy integration.
- From the Jenkins dashboard, go to Manage Jenkins, then click Manage Plugins.
- In the Available tab, type Artifactory in the search field.
- Locate the JFrog Artifactory Plugin and check the box next to it.
- Click Install without restart to install the plugin. Restart Jenkins if necessary.
Step 3: Configure the JFrog Artifactory Plugin in Jenkins
After installation, it’s time to configure the JFrog Artifactory plugin in Jenkins:
- From the Jenkins dashboard, go to Manage Jenkins, then select Configure System.
- Scroll down to the Artifactory section.
- Tick the Use the Credentials Plugin checkbox to use the credentials you created earlier.
- In the Artifactory Servers section, click Add Artifactory Server.
- Give your server a unique name in the Server ID field.
- Enter the Artifactory server URL in the URL field. Be sure to append /artifactory/ to the end of the domain name, even if your Artifactory is standalone.
- Select the credentials you created from the Credentials dropdown.
- Click Test Connection to ensure the connection is successful.
- Click Save to save the configuration.
Best Practices for Managing JFrog Artifactory Credentials in Jenkins
Managing JFrog Artifactory credentials securely is critical to maintaining a safe CI/CD pipeline. Ensuring proper configuration is especially important when dealing with large-scale, multi-cloud, or microservices environments.
ZippyOPS provides expert consulting, implementation, and managed services to streamline your CI/CD pipeline setup. Their team specializes in DevOps, DevSecOps, Cloud, AIOps, MLOps, and Automated Ops solutions. ZippyOPS ensures secure integration and optimization of your infrastructure. Explore their full range of services here and learn more about their solutions to enhance your pipeline.
Conclusion
By following these simple steps, you can efficiently create and configure JFrog Artifactory credentials in Jenkins, ensuring seamless integration between Jenkins and Artifactory. This setup will help you automate your build and release processes, boosting productivity and deployment efficiency.
For expert guidance on optimizing your DevOps pipelines or managing Cloud and Microservices environments, ZippyOPS is here to help. Their solutions are designed to secure and streamline your operations.
Ready to take your automation to the next level? Reach out to ZippyOPS at sales@zippyops.com for personalized consultation.



