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...
Publish a package using JenkinsSelect your build pipeline, and then select Configure to edit your build definition. Select Build, and then select Add build step to add a new task. Select Save, and then queue your build. Your NuGet package should be published to your Azure Artifacts feed.
Once you have created your Maven repository, go to Application | Artifactory | Artifacts, select your Maven repository and click Set Me Up. In the Set Me Up dialog, click Generate Maven Settings. You can now specify the repositories you want to configure for Maven.
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.
Isn't running the deploy
phase of your project what you are looking for?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With