Perso I use tomcat so the tomcat-maven-plugin works fine for that purpose.
The other solution is to use the Jenkins plugin to deploy at the end of
your build. This plugin:
https://wiki.jenkins-ci.org/display/JENKINS/Deploy+Plugin



On 23 January 2015 at 12:05, Malcolm G. Davis <[email protected]> wrote:

> Hello Olivier,
>
> If it is easy, can you have an example?
>
> Any app server example will do, and I switch out the app server deployment
> plugin you use for my specific situation.
>
> Thank you,
> Malcolm
>
> -----Original Message-----
> From: Olivier Lamy [mailto:[email protected]]
> Sent: Thursday, January 22, 2015 5:58 PM
> To: [email protected]
> Subject: Re: Jenkins deployment from Archiva
>
> depends on your target app server.
> If there is a maven plugin to deploy it that will be easy.
>
>
> On 23 January 2015 at 10:24, Malcolm G. Davis <[email protected]> wrote:
>
> > I'm not looking to deploy to Archiva, I have deploying to Archiva
> working.
> >
> > I want to deploy from Archiva to an application server.
> >
> > Working: Jenkins -> Archiva
> >
> > Need: Archiva -> Jenkins -> Application server
> >
> > Is there a sample Maven pom.xml that will pull from Archiva internal
> > (release) and send to an application server?
> >
> > Thank you,
> > Malcolm
> >
> > btw: The Archiva user name & password can be stored in the Maven super
> > pom, avoiding the need to configure Jenkins
> >
> > -----Original Message-----
> > From: Olivier Lamy [mailto:[email protected]]
> > Sent: Thursday, January 22, 2015 5:06 PM
> > To: [email protected]
> > Subject: Re: Jenkins deployment from Archiva
> >
> > Hi,
> > If you use the Maven Job type with Jenkins you can activate the post
> > build step to deploy to Archiva ("Deploy artifacts to Maven repository").
> > Note you will have to store username/password within Jenkins to deploy
> > to Archiva.
> > I recommend you use the plugin ConfigFileProvider to store and share
> > between jobs.
> >
> >
> >
> > On 23 January 2015 at 05:33, Malcolm G. Davis <[email protected]>
> wrote:
> >
> > > I would like to create Jenkins job that deploys a war from Archiva.
> > >
> > > Is there a specific Jenkins steps or Maven configuration that will
> > > read a war from Archiva and deploy to an application server?
> > >
> > > I know many want to auto-deploy after a successful build, but there
> > > are internal QA steps that need to be followed, and there is tracking
> and
> > > sign-off that needs to occur.   The war is required to deploy from
> > Archiva.
> > >
> > > Thanks,
> > > Malcolm
> > >
> > >
> >
> >
> > --
> > Olivier Lamy
> > http://twitter.com/olamy | http://linkedin.com/in/olamy
> >
> >
>
>
> --
> Olivier Lamy
> http://twitter.com/olamy | http://linkedin.com/in/olamy
>
>


-- 
Olivier Lamy
http://twitter.com/olamy | http://linkedin.com/in/olamy

Reply via email to