Pushing artifacts into artifact repository tools
Artifact repository tools such as Artifactory and Nexus allow for configuration management, a discipline where the build artifacts that emerge from a continuous integration pipeline are stored and tracked against the environments where they are applied.
Elementary builds that result in pushes to Artifactory or Nexus can rely on Bitbucket Pipes, which allows you to easily deploy from the bitbucket-pipelines.yml
file. More complex deployments involving Maven or npm won’t be covered here but we will include references to create those types of deployments.
Getting ready
When using Pipes for either JFrog Artifactory or Sonatype Nexus, there are a few prerequisite steps that should be defined. We will examine which steps are needed by tool.
JFrog CLI prerequisites
The JFrog Setup CLI pipe requires connections to the JFrog Platform servers. Let’s look at the steps that are involved in this process:
- Ensure...