JENKINS how to deploy artifacts to maven repo

43,686

Solution 1

Take a look at This answer.

You can add a "Post-build Actions" to "Deploy artifacts to Maven Repository" (the Maven Project Plugin will need to be installed). Then click "Advanced" and set your Repository URL to something appropriate (http://yourserver:8082/nexus/content/repositories/releases/) and set Repository ID to the server in your settings.xml that contains the authentication necessary, such as my-releases or whatever.

Solution 2

Isn't running the deploy phase of your project what you are looking for?

Share:
43,686
user1013149
Author by

user1013149

Updated on July 09, 2022

Comments

  • user1013149
    user1013149 almost 2 years

    I use jenkins 1.500 and I looking for plugin that will provide possibility to deploy artifacts to maven repository, in previuos version of jenkins it was possible in post build actions using maven-plugin but for now that option dissappear...