You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Martin Gainty <mg...@hotmail.com> on 2014/02/27 21:52:23 UTC
Jenkins REST-API
anyone know how to use Jenkins REST-API to create a test Jenkins job?
wget --verbose --auth-no-challenge --http-user=jenkins --header='Content-type: application/xml; charset=ISO-8859-1' --http-password=CHANGEME -O /dev/null --post-file=C:/Nexus/config.xml http://localhost:8080/createItem?name=test
Thanks!
Martin
______________________________________________
RE: Jenkins REST-API
Posted by Martin Gainty <mg...@hotmail.com>.
Merci Oliver!
Martin
______________________________________________
Note de déni et de confidentialité
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
> Date: Fri, 28 Feb 2014 08:49:34 +1100
> Subject: Re: Jenkins REST-API
> From: olamy@apache.org
> To: users@maven.apache.org
>
> Maybe use jenkins mailing list :-)
>
> --
> Olivier
> On Feb 28, 2014 7:52 AM, "Martin Gainty" <mg...@hotmail.com> wrote:
>
> > anyone know how to use Jenkins REST-API to create a test Jenkins job?
> >
> >
> > wget --verbose --auth-no-challenge --http-user=jenkins
> > --header='Content-type: application/xml; charset=ISO-8859-1'
> > --http-password=CHANGEME -O /dev/null --post-file=C:/Nexus/config.xml
> > http://localhost:8080/createItem?name=test
> >
> >
> > Thanks!
> > Martin
> > ______________________________________________
> >
> >
Re: Jenkins REST-API
Posted by Olivier Lamy <ol...@apache.org>.
Maybe use jenkins mailing list :-)
--
Olivier
On Feb 28, 2014 7:52 AM, "Martin Gainty" <mg...@hotmail.com> wrote:
> anyone know how to use Jenkins REST-API to create a test Jenkins job?
>
>
> wget --verbose --auth-no-challenge --http-user=jenkins
> --header='Content-type: application/xml; charset=ISO-8859-1'
> --http-password=CHANGEME -O /dev/null --post-file=C:/Nexus/config.xml
> http://localhost:8080/createItem?name=test
>
>
> Thanks!
> Martin
> ______________________________________________
>
>