James, Arnaud, thank you for your quick answers.
I'll study both solutions.

Eric

On 12 mar, 16:53, "Nord, James" <[email protected]> wrote:
> Ah...
>
> Assuming you only have one release repo then its possible without asking 
> nexus.
>
> You can get the MavenModule from Jenkins - then get its group artifact and id.
> Then the URL follows the standard maven pattern which is something like -  
> http://repo/repo_path/group_id_replace_dot_with_slash/artifactid/vers...
>
> /James
>
>
>
>
>
>
>
>
>
> > -----Original Message-----
> > From: Nord, James
> > Sent: 12 March 2012 14:32
> > To: Jenkins Users
> > Subject: RE: Retrieve Nexus Url after build
>
> > The nexus rest implementation is what you need (see the nexus user email 
> > list).
>
> > You may be able to gets some information from the m2release plugin source
> > but not so sure that would help in this case.
>
> > /James
>
> > > -----Original Message-----
> > > From: [email protected] [mailto:jenkinsci-
> > > [email protected]] On Behalf Of Efavre
> > > Sent: 12 March 2012 13:52
> > > To: Jenkins Users
> > > Subject: Retrieve Nexus Url after build
>
> > > Hello,
>
> > > I have a Maven3 job which builds my artifact and deploys it to the
> > > release repo on Nexus.
> > > I would like to send an e-mail the the deployment team once the build
> > > is done and successful. I added the E-mail Extension Plugin, but I
> > > can't figure out how to retrieve the full Nexus url on which I
> > > deployed the artifact (something like
> > >http://my.nexus/service/local/repositories/release/content/com/mycompa
> > > ny/
> > > my-project/1.2.3/my-project-1.2.3.jar)
>
> > > Can anybody help ?
>
> > > Thanks,
>
> > > Eric
>
> **************************************************************************************
> This message is confidential and intended only for the addressee. If you have 
> received this message in error, please immediately notify the 
> [email protected] and delete it from your system as well as any copies. The 
> content of e-mails as well as traffic data may be monitored by NDS for 
> employment and security purposes. To protect the environment please do not 
> print this e-mail unless necessary.
>
> NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 
> 4EX, United Kingdom. A company registered in England and Wales. Registered 
> no. 3080780. VAT no. GB 603 8808 40-00
> **************************************************************************************

Reply via email to