shailesh719 / jfrog-cli-sample-maven-project

This is a sample maven project using jfrog cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

This is a sample maven project using jfrog cli


Languages

Language:Java 100.0%