deploy an maven build artifact to an Archiva repository using jenkins job

529 views
Skip to first unread message

ESEC FRIENDS

unread,
Sep 7, 2011, 12:27:25 PM9/7/11
to Jenkins Developers, chandras...@in.bosch.com
Helli,
i am new to jenkins,
I have install jenkins and created maven job and its working fine.
i have installed apache archiva repository also.
could you please let me know configuration steps to deploy an maven
build
artifact to an Archiva repository using jenkins job.

-GCS

Jesse Farinacci

unread,
Sep 7, 2011, 12:58:14 PM9/7/11
to jenkin...@googlegroups.com
Greetings,

0) Configure your Maven project distributionManagement.repository to
be your Archiva instance
1) Set your Jenkins job's Maven goals to be: clean deploy
2) Execute the Jenkins job
3) Profit

-Jesse

--
There are 10 types of people in this world, those
that can read binary and those that can not.

Reply all
Reply to author
Forward
0 new messages