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.
Asked
Active
Viewed 5,978 times
1 Answers
1
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

Olivier Lamy
- 2,280
- 1
- 14
- 12
-
Cool this is helpful. What about artifact deployer plug in in Jenkins? Can I not just use that? – Ree Mar 19 '14 at 10:13
-
Also, I get red text telling me my directory that I want to get the artifacts from does not exist. Is there a format to follow? – Ree Mar 19 '14 at 10:15