Re: Docker Slaves Plugin Exception in Pipeline

2016-10-13 Thread Qiang
Thanks for fixing it... the 1.0.5 version worked perfectly with sample 
code. Can't wait to put into real use :)

Qiang

On Tuesday, October 11, 2016 at 1:07:00 PM UTC-5, Qiang wrote:
>
> Thank you!
>
> I noticed a "git" command alone is ok, but adding a "sh" command generate 
> the following error.
>
> Looking forward to the fix!
>
>
> Qiang
>
> On Tuesday, October 11, 2016 at 10:11:31 AM UTC-5, nicolas de loof wrote:
>>
>> Hi.
>>
>> Identified the root cause, a fix will be released asap.
>>
>> Le 11 oct. 2016 15:38, "Qiang Ma"  a écrit :
>>
>>> Hi, all,
>>>
>>> Have you successfully run the sample of Docker Slaves Plugin?
>>>
>>> I am using Docker Slaves Plugin v 1.0.4, on Jenkins 2.6.
>>> Copied the sample (Pipeline job support) from 
>>> https://github.com/jenkinsci/docker-slaves-plugin 
>>>
>>> The images were downloaded, git checkout happened,  but the pipeline 
>>> finished with error below:
>>>
>>> [Pipeline] }
>>>
>>> [Pipeline] // dockerNode[Pipeline] End of 
>>> Pipelinejava.lang.NullPointerException
>>> at 
>>> it.dockins.dockerslaves.drivers.CliDockerDriver.applyHints(CliDockerDriver.java:236)
>>> at 
>>> it.dockins.dockerslaves.drivers.CliDockerDriver.launchSideContainer(CliDockerDriver.java:366)
>>> at 
>>> it.dockins.dockerslaves.DefaultDockerProvisioner.createSideContainers(DefaultDockerProvisioner.java:122)
>>> at 
>>> it.dockins.dockerslaves.DefaultDockerProvisioner.launchBuildContainers(DefaultDockerProvisioner.java:99)
>>> at 
>>> it.dockins.dockerslaves.DefaultDockerProvisioner.launchBuildProcess(DefaultDockerProvisioner.java:139)
>>> at it.dockins.dockerslaves.DockerLauncher.launch(DockerLauncher.java:56)
>>> at hudson.Launcher$ProcStarter.start(Launcher.java:381)
>>>
>>>
>>>
>>> Any comment/help is appreciated.
>>>
>>> Regards,
>>> Qiang
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Jenkins Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to jenkinsci-use...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-users/59c6a543-8e06-445f-9098-30024e83e2f6%40googlegroups.com
>>>  
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/490d893a-7499-4076-a24c-46d52349c090%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Docker Slaves Plugin Exception in Pipeline

2016-10-11 Thread Qiang
Thank you!

I noticed a "git" command alone is ok, but adding a "sh" command generate 
the following error.

Looking forward to the fix!


Qiang

On Tuesday, October 11, 2016 at 10:11:31 AM UTC-5, nicolas de loof wrote:
>
> Hi.
>
> Identified the root cause, a fix will be released asap.
>
> Le 11 oct. 2016 15:38, "Qiang Ma" > a 
> écrit :
>
>> Hi, all,
>>
>> Have you successfully run the sample of Docker Slaves Plugin?
>>
>> I am using Docker Slaves Plugin v 1.0.4, on Jenkins 2.6.
>> Copied the sample (Pipeline job support) from 
>> https://github.com/jenkinsci/docker-slaves-plugin 
>>
>> The images were downloaded, git checkout happened,  but the pipeline 
>> finished with error below:
>>
>> [Pipeline] }
>>
>> [Pipeline] // dockerNode[Pipeline] End of 
>> Pipelinejava.lang.NullPointerException
>>  at 
>> it.dockins.dockerslaves.drivers.CliDockerDriver.applyHints(CliDockerDriver.java:236)
>>  at 
>> it.dockins.dockerslaves.drivers.CliDockerDriver.launchSideContainer(CliDockerDriver.java:366)
>>  at 
>> it.dockins.dockerslaves.DefaultDockerProvisioner.createSideContainers(DefaultDockerProvisioner.java:122)
>>  at 
>> it.dockins.dockerslaves.DefaultDockerProvisioner.launchBuildContainers(DefaultDockerProvisioner.java:99)
>>  at 
>> it.dockins.dockerslaves.DefaultDockerProvisioner.launchBuildProcess(DefaultDockerProvisioner.java:139)
>>  at it.dockins.dockerslaves.DockerLauncher.launch(DockerLauncher.java:56)
>>  at hudson.Launcher$ProcStarter.start(Launcher.java:381)
>>
>>
>>
>> Any comment/help is appreciated.
>>
>> Regards,
>> Qiang
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/59c6a543-8e06-445f-9098-30024e83e2f6%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1b0dd4a6-27b2-4602-b508-e37f969008c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Docker Slaves Plugin Exception in Pipeline

2016-10-11 Thread nicolas de loof
Hi.

Identified the root cause, a fix will be released asap.

Le 11 oct. 2016 15:38, "Qiang Ma"  a écrit :

> Hi, all,
>
> Have you successfully run the sample of Docker Slaves Plugin?
>
> I am using Docker Slaves Plugin v 1.0.4, on Jenkins 2.6.
> Copied the sample (Pipeline job support) from
> https://github.com/jenkinsci/docker-slaves-plugin
>
> The images were downloaded, git checkout happened,  but the pipeline
> finished with error below:
>
> [Pipeline] }
>
> [Pipeline] // dockerNode[Pipeline] End of 
> Pipelinejava.lang.NullPointerException
>   at 
> it.dockins.dockerslaves.drivers.CliDockerDriver.applyHints(CliDockerDriver.java:236)
>   at 
> it.dockins.dockerslaves.drivers.CliDockerDriver.launchSideContainer(CliDockerDriver.java:366)
>   at 
> it.dockins.dockerslaves.DefaultDockerProvisioner.createSideContainers(DefaultDockerProvisioner.java:122)
>   at 
> it.dockins.dockerslaves.DefaultDockerProvisioner.launchBuildContainers(DefaultDockerProvisioner.java:99)
>   at 
> it.dockins.dockerslaves.DefaultDockerProvisioner.launchBuildProcess(DefaultDockerProvisioner.java:139)
>   at it.dockins.dockerslaves.DockerLauncher.launch(DockerLauncher.java:56)
>   at hudson.Launcher$ProcStarter.start(Launcher.java:381)
>
>
>
> Any comment/help is appreciated.
>
> Regards,
> Qiang
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-users/59c6a543-8e06-445f-9098-30024e83e2f6%40googlegroups.
> com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CANMVJzmgWWDOtebiqGVtUJUijdyE%2B6WppCWVcSFh44Z9WCHVMA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.