<div dir="ltr">Sure thing, I'll try to find some time this week to investigate. Thanks for the pointer.<div><br></div><div>Regards,</div><div><br></div><div>Thanh<br><div class="gmail_extra"><br><div class="gmail_quote">On 19 January 2016 at 15:32, Darragh Bailey <span dir="ltr"><<a href="mailto:daragh.bailey@gmail.com" target="_blank">daragh.bailey@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Thanh,<br>
<br>
<br>
I suspect there's an issue with the groovy script that is used in<br>
place of the REST api point executing, see:<br>
<a href="https://github.com/openstack-infra/jenkins-job-builder/blob/master/jenkins_jobs/builder.py#L168-L173" rel="noreferrer" target="_blank">https://github.com/openstack-infra/jenkins-job-builder/blob/master/jenkins_jobs/builder.py#L168-L173</a><br>
<br>
Maybe you don't have sufficient privs to execute the script, but the<br>
code isn't checking the result of calling run_script() on Jenkins.<br>
<br>
Any chance you could try and capture the return value from those lines?<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On 19 January 2016 at 18:00, Wayne Warren <<a href="mailto:wayne@puppetlabs.com">wayne@puppetlabs.com</a>> wrote:<br>
> What command line flags did you pass?<br>
><br>
> I don't generally use this or the 'delete' subcommand, preferring<br>
> instead to use python-jenkins directly.<br>
><br>
> On Sun, Jan 17, 2016 at 5:03 PM, Thanh Ha <<a href="mailto:thanh.ha@linuxfoundation.org">thanh.ha@linuxfoundation.org</a>> wrote:<br>
>> Hi Everyone,<br>
>><br>
>> It seems to me that JJB 1.4.0's delete-all function has regressed and no<br>
>> longer performs the delete function. Instead it simply provides the<br>
>> following output and exits without performing any deletes.<br>
>><br>
>> Sure you want to delete *ALL* jobs from Jenkins server?<br>
>> (including those not managed by Jenkins Job Builder) (Y/N): y<br>
>> INFO:root:Deleting all jobs<br>
>> INFO:jenkins_jobs.builder:Number of jobs to delete: 50<br>
>> INFO:jenkins_jobs.builder:Cache saved<br>
>><br>
>><br>
>> Has anyone else noticed this issue as well?<br>
>><br>
>> I'll try to find some time to investigate which patch introduced this issue<br>
>> unless someone else gets to it first but thought I'd inform the team.<br>
>><br>
>> Regards,<br>
>><br>
>> Thanh<br></div></div></blockquote></div></div></div></div>