Storing Artifacts in Artifact Repositories
- To store artifacts we have different artifact repositories
-
The major artifact repositories are
- Nexus
- Artifactory/Jfrog
- Azure Artifacts
- We will be using Artifactory/Jfrog Refer Here for downloading the open source version
- Refer Here for steps to install jfrog/artifactory oss
- In this class we will be using trail version of jfrog cloud Refer Here
- Lets create a free trail account
- Lets setup maven repository
- We have pushed the artifacts (jar, pom)
- For integrating jenkins with artifactory Refer Here for official docs
- Install jenkins jfrog plugin and for free style follow docs Refer Here and Refer Here for previous blog article
- Installing Jenkins – Jfrog plugin
- Install artifactory plugin and build the code as shown in the article Refer Here
- Refer Here for declarative and scripted pipeline examples
- Refer Here for the changes done to deploy artifacts using declarative pipeline.
Next Steps:
- Pull Request
- Jenkins Project Types
- Branching Strategies
- Deployments
- Git Stash,tags, ignore and hooks