Re: sh pipeline step started to fail after update to 2.42

2017-02-13 Thread Nico S
Hi Guys!

Thanks for shared the solutions! I was in the same.

Do you know why JENKINS-41339 is close as resolved if the problem is there?

Thanks again,
Nico.

El sábado, 11 de febrero de 2017, 13:22:35 (UTC-3), John Mellor escribió:
>
> After downgrading the durable tasks pluginto fix this problem, a manual 
> reboot is required to actually get pipelines functional again.  Thanks, 
> Daniel !
>
> On Friday, 10 February 2017 17:08:25 UTC-5, Daniel Beck wrote:
>>
>>
>> > On 10.02.2017, at 21:40, John Mellor  wrote: 
>> > 
>> > Now what?  All pipelines a inoperable at this point. 
>>
>> I linked to JENKINS-41339 earlier, which mentions solutions in the 
>> comments. 
>>
>>

-- 
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/b40c92b6-c09c-42b4-8335-f28ddf752833%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: sh pipeline step started to fail after update to 2.42

2017-02-11 Thread John Mellor
After downgrading the durable tasks pluginto fix this problem, a manual 
reboot is required to actually get pipelines functional again.  Thanks, 
Daniel !

On Friday, 10 February 2017 17:08:25 UTC-5, Daniel Beck wrote:
>
>
> > On 10.02.2017, at 21:40, John Mellor  
> wrote: 
> > 
> > Now what?  All pipelines a inoperable at this point. 
>
> I linked to JENKINS-41339 earlier, which mentions solutions in the 
> comments. 
>
>

-- 
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/d55059c4-e677-45f5-918d-99bab53c5358%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: sh pipeline step started to fail after update to 2.42

2017-02-10 Thread Daniel Beck

> On 10.02.2017, at 21:40, John Mellor  wrote:
> 
> Now what?  All pipelines a inoperable at this point.

I linked to JENKINS-41339 earlier, which mentions solutions in the comments.

-- 
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/CA61940D-B454-4FDA-BC19-D6E77A3C232C%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: sh pipeline step started to fail after update to 2.42

2017-02-10 Thread John Mellor
Looking at your pipeline plugin version numbers, I assume that you are on 
Jenkins2.
I'm on Jenkins 1.656 and have been unable to move up to the exact pipeline 
plugin version numbers that you used.
However, I have the same problem, and unfortunately reverting to the 
previous version has not fixed the issue.

[Pipeline] {[Pipeline] stage[Pipeline] { (Fetch Dependencies)[Pipeline] 
deleteDir[Pipeline] sh[cb-automation-pipeline] Running shell script
nohup: failed to run command ‘sh’: No such file or directory[Pipeline] echoNo 
need to clear known_hosts.[Pipeline] sh[cb-automation-pipeline] Running shell 
script
nohup: failed to run command ‘sh’: No such file or directory[Pipeline] }

Now what?  All pipelines a inoperable at this point.

-- 
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/f7c01382-6be3-47b2-8bd1-89f071597dcc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: sh pipeline step started to fail after update to 2.42

2017-01-26 Thread Rinaldo DiGiorgio
Yes that is what the issue is -- thank you.

I have provided some information about downgrading -- however I have not 
run a full system test that will prove that it works on OSX, Linux, Sparc 
and windows -- If It does I will reply back.


On Thursday, January 26, 2017 at 8:57:25 AM UTC-5, Daniel Beck wrote:
>
>
> > On 25.01.2017, at 23:30, Rinaldo DiGiorgio  > wrote: 
> > 
> > nohup: failed to run command ‘sh’: No such file or directory 
>
> Could this be https://issues.jenkins-ci.org/browse/JENKINS-41339 ? 
>
>

-- 
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/39f7c4fa-0aad-42e1-b8ed-238d0c1fcfbd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: sh pipeline step started to fail after update to 2.42

2017-01-26 Thread Rinaldo DiGiorgio
I downgraded the following plugins, jenkins claimed that i did not need to 
restart so I didn't and tested each individually, the code below still 
failed. So I rebooted at the end and it worked so another bug.  I am not 
sure if one or more than one need to be downgraded. Some of the downgrades 
may not be needed.


This failure may indicates that there is very basic test missing from 
Jenkins CI. If I could find the code I would look to see where the test to 
verify that sh works on some set of target platforms.


On Wednesday, January 25, 2017 at 5:30:07 PM UTC-5, Rinaldo DiGiorgio wrote:
>
> The following code was working with 2.41 ( maybe it was 2.40 )
>
> node("master") {
>sh 'ls'
> }
>
>
> I get the following error
>
> Running on master in /scratch/mach5-j/jenkins/jobs/sh 
> issue/workspace[Pipeline] {[Pipeline] sh[workspace] Running shell script
> nohup: failed to run command ‘sh’: No such file or directory[Pipeline] 
> }[Pipeline] // node[Pipeline] End of PipelineERROR: script returned exit code 
> -2Finished : FAILURE
>
>

-- 
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/f4a9a4b4-b489-4da3-8ec6-eab5f673023e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: sh pipeline step started to fail after update to 2.42

2017-01-26 Thread Daniel Beck

> On 25.01.2017, at 23:30, Rinaldo DiGiorgio  wrote:
> 
> nohup: failed to run command ‘sh’: No such file or directory

Could this be https://issues.jenkins-ci.org/browse/JENKINS-41339 ?

-- 
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/39CCC8EA-E3E0-462A-B2AA-891EF5C67C1F%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: sh pipeline step started to fail after update to 2.42

2017-01-26 Thread Rinaldo DiGiorgio
The lack of exception information or any textual indication as to the component 
that failed is another issue. How is one supposed to figure out what to 
downgrade. Here we are two days into it and we still can’t fix it without 
extensive trial and error. Where is the sh step defined.  Having an Opengrok of 
jenkins updated all the time would help.  Maybe I can donate that.


> On Jan 26, 2017, at 6:07 AM, Rainer Frey  wrote:
> 
> Am Mittwoch, 25. Januar 2017 23:30:07 UTC+1 schrieb Rinaldo DiGiorgio:
> The following code was working with 2.41 ( maybe it was 2.40 )
> 
> node("master") {
>sh 'ls'
> }
> 
> 
> I get the following error
> 
> Running on master in /scratch/mach5-j/jenkins/jobs/sh issue/workspace
> [Pipeline] {
> [Pipeline] sh
> [workspace] Running shell script
> nohup: failed to run command ‘sh’: No such file or directory
> [Pipeline] }
> [Pipeline] // node
> [Pipeline] End of Pipeline
> ERROR: script returned exit code -2
> Finished : FAILURE
> 
> I have exacttly the same problem. I also upgraded all the Pipeline plugins 
> the the newest versions. 
> 
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/jenkinsci-users/LN057YL_Xis/unsubscribe 
> .
> To unsubscribe from this group and all its topics, 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/af357237-e767-422f-83b8-a92df2460087%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/5026E038-A1C9-49B7-83FC-7C1651F28F49%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: sh pipeline step started to fail after update to 2.42

2017-01-26 Thread Rainer Frey
Am Mittwoch, 25. Januar 2017 23:30:07 UTC+1 schrieb Rinaldo DiGiorgio:
>
> The following code was working with 2.41 ( maybe it was 2.40 )
>
> node("master") {
>sh 'ls'
> }
>
>
> I get the following error
>
> Running on master in /scratch/mach5-j/jenkins/jobs/sh 
> issue/workspace[Pipeline] {[Pipeline] sh[workspace] Running shell script
> nohup: failed to run command ‘sh’: No such file or directory[Pipeline] 
> }[Pipeline] // node[Pipeline] End of PipelineERROR: script returned exit code 
> -2Finished : FAILURE
>
>
I have exacttly the same problem. I also upgraded all the Pipeline plugins 
the the newest versions. 

-- 
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/af357237-e767-422f-83b8-a92df2460087%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


sh pipeline step started to fail after update to 2.42

2017-01-25 Thread Rinaldo DiGiorgio
The following code was working with 2.41 ( maybe it was 2.40 )

node("master") {
   sh 'ls'
}


I get the following error

Running on master in /scratch/mach5-j/jenkins/jobs/sh issue/workspace[Pipeline] 
{[Pipeline] sh[workspace] Running shell script
nohup: failed to run command ‘sh’: No such file or directory[Pipeline] 
}[Pipeline] // node[Pipeline] End of PipelineERROR: script returned exit code 
-2Finished : FAILURE

-- 
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/0efa3b66-819c-4f55-a01b-c64cdea7da72%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.