Can Jenkins be used to store project jar at some remote location after build

265 views Asked by At

For my project I need to store jar after each build at some other url. Is there a way to get it done by Jenkins job.

I am quite new to jenkins.

1

There are 1 answers

0
michaelbahr On

You can find a good explanation on how to publish your artifact to a repository (best practice) here. This is equivalent for Maven3 and Maven2.

The answer refers to Artifactory. Make sure to also take a look at Nexus and Archiva as khmarbaise noted.

tl;dr

If using Artifactory, add the Maven Artifactory Plugin to your pom.