Author: Moole Muralidhara Reddy
Email: techworldwithmurali@gmail.com
Website: techworldwithmurali.com , devopsbymurali.com
Description: Below are the steps outlined for manually building and pushing artifacts(war) to Jfrog Artifactory
Manually - Build and Push to Jfrog Artifactory
Git is installed
Maven is installed
Jfrog Artifactory is installed
Step 1: Clone the repository
github url: https://github.com/techworldwithmurali/nodejs-application.git
branch name:
<distributionManagement >
<snapshotRepository >
<id >jfrog-snapshots</id >
<url >http://your-host:8081/repository/maven-snapshots/</url >
</snapshotRepository >
<repository >
<id >jfrog-releases</id >
<url >http://your-host:8081/repository/maven-releases/</url >
</repository >
</distributionManagement >
Step 3: Update the jfrog credentials in settings.xml
<servers >
<server >
<id >jfrog-snapshots</id >
<username >admin</username >
<password >admin123</password >
</server >
<server >
<id >jfrog-releases</id >
<username >admin</username >
<password >admin123</password >
</server >
</servers >
Step 4: Run the below command to push the artifacts to Jfrog Artifactory.
Step 5: Verify whether artifact(war) is published or not in Jfrog Artifactory.
Congratulations. You have successfully published the artifact(war) file in Jfrog repository.