Le 17 mars 2015 à 10:18, Stephan Eggermont a écrit :

> On 11/03/15 14:55, Christophe Demarey wrote:
>> Here is the way to go:
>> 
>>  * go to your job configuration on Jenkins
>>      o In the *build triggers* section,
>>          + enable *Trigger builds remotely (e.g., from scripts)* and
>>            choose an*authentication token*.
>>          + disable [*URLTrigger] - Poll with a URL*
>>  * go to smalltalkhub, on your project settings page
>>      o Fill in the *commit hook url *field with
>>        
>> https://ci.inria.fr/pharo-contribution/buildByToken/build?job=*JOBNAME*&token=*TOKEN*
>>        by replacing JOBNAME and TOKEN by the Jenkins job name and the
>>        token chosen.
> 
> I tried that with a new project XPath. Did I do something wrong/is there a 
> delay? It hasn't start building yet.

There is no delay.
The first thing to try if it does not work is to open the URL given on 
smalltalkhub from a web browser (strangely, does not work with curl/wget).
ex: curl 
https://ci.inria.fr/pharo-contribution/buildByToken/build?job=*JOBNAME*&token=*TOKEN*

You should see the message 'scheduled!'. If it does not  work, check the URL 
used and fix it.

Hope this helps.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to