Integrate Artifactory with Jenkins - Upload Artifacts from Jenkins to Artifactory - How to Integrate Jenkins with Artifactory
You can install plug-in called Artifact plug-in to integrate Artifactory with Jenkins. Let us see how to integrate Jenkins with Artifactory and able to upload War/Ear/Jar/Exe/DLLs using Maven.
Pre-requistes:
Install Artifactory plugin in Jenkins.
Make sure Maven 3 is also configured under Manage Jenkins--> Global Tool configuration
Enter Name as Maven3
/usr/share/maven as MAVEN_HOME
Configure Arifactory in Jenkins:
1. Go to Manage Jenkins, Click on configure system. Look for Artifactory section, click on Add Artifactory server
2. Enter Artifactory url like given below:
some name for server_id
http://public_dns_name:8081/artifactory
admin/admin123 as credentials
Click on Test connection to verify everything is right.
You should get the message like below:
Found Artifactory 7.4.1

Pre-requistes:
Install Artifactory plugin in Jenkins.
Make sure Maven 3 is also configured under Manage Jenkins--> Global Tool configuration
Enter Name as Maven3
/usr/share/maven as MAVEN_HOME
Configure Arifactory in Jenkins:
1. Go to Manage Jenkins, Click on configure system. Look for Artifactory section, click on Add Artifactory server
2. Enter Artifactory url like given below:
some name for server_id
http://public_dns_name:8081/artifactory
admin/admin123 as credentials
Click on Test connection to verify everything is right.
You should get the message like below:
Found Artifactory 7.4.1

Apply...Save
3. Once you installed the above plug-in, click on existing Freestyle job configuration.
4. Go under Build environment
Select Maven 3 - Artifactory integration check box
and click on refresh Repositories and choose repos as mentioned below:
3. Once you installed the above plug-in, click on existing Freestyle job configuration.
4. Go under Build environment
Select Maven 3 - Artifactory integration check box
and click on refresh Repositories and choose repos as mentioned below:
No comments:
Post a Comment