Skip to content

nad1th/jfrog-cli-sample-maven-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jfrog-cli-sample-maven-project

Build & publish sample maven project to Artifactory using Jfrog CLI via Jenkins

To make this integration work you will need to have running instance of Jenkins and Artifactory.

How to Install Artifactory & Jenkins

Refer Artifactory Installation guide & Jenkins Installation guide

Setup Artifactory Maven Repositories

Check how to setup maven repositories

Build Configuration File

To resolve maven dependencies via Artifactory and publish build artifacts to Artifactory, resolver and deployer repos have be defined in configuration.yml file.

Setup Jenkins pipeline

  • Create pipeline job in Jenkins (New Item > Pipeline)
  • In the project configuration, select "pipeline script from SCM" and fill out the necessary details.
  • Add credential ID "ARTIFACTORY_CREDENTIALS" under global credentials and provide authentication details for your local artifactory instance

What is Jfrog CLI

For more information on using Jfrog CLI, refer to the documentation.

Releases

No releases published

Packages

No packages published

Languages