Ree
Ree

Reputation: 903

Deploy from Jenkins to Archiva steps

I see this question as a potential answer to my problem: Deploy Artifact From Jenkins to Archiva with NAnt however the chosen answer starts with: create a Jenkins task. How do I do that? I'm new to Jenkins and need to deploy from Jenkins to archiva.

Upvotes: 0

Views: 6097

Answers (1)

Olivier Lamy
Olivier Lamy

Reputation: 2310

If it's a maven build there is a "post build action called "Deploy Artifacts to maven repository". In the advanced section, configure the repository url.

And the repository Id (to ease your job you can use this plugin https://wiki.jenkins-ci.org/display/JENKINS/Config+File+Provider+Plugin)

As repository id is read from a maven settings file.

HTH

Upvotes: 1

Related Questions