Also the problem with this execution is that

cd "/home/jenkins/workspace/slave-test-npm"


makes a

dir('') {
    // some block
}

not working.

Am Freitag, 24. März 2017 12:45:00 UTC+1 schrieb Sascha Vujevic:
>
> Hello developers,
>
> we use the kubernetes-plugin to produce slaves in Jenkins.
>
> In the logfile we can see following output:
>
> *12:38:52* [slave-test-npm] Running shell script
> *12:38:52* Executing shell script inside container [npm] of pod 
> [kubernetes-cfebda342f4349e9a12bb07ff3b1db8c-9801f82825b9f]
> *12:38:52* Executing command: sh -c echo $$ > 
> '/home/jenkins/workspace/slave-test-npm@tmp/durable-fc339069/pid'; 
> jsc=durable-0cd0becdd66e2d5e1c287736e0acaf0b; JENKINS_SERVER_COOKIE=$jsc 
> '/home/jenkins/workspace/slave-test-npm@tmp/durable-fc339069/script.sh' > 
> '/home/jenkins/workspace/slave-test-npm@tmp/durable-fc339069/jenkins-log.txt' 
> 2>&1; echo $? > 
> '/home/jenkins/workspace/slave-test-npm@tmp/durable-fc339069/jenkins-result.txt'
>  
> *12:38:52* sh: scl_source: No such file or directory
> *12:38:52*  [?1034hsh-4.2$ *cd **"/home/jenkins/workspace/slave-test-npm"*
> *12:38:52* sh-4.2$ sh -c echo $$ > 
> '/home/jenkins/workspace/slave-test-npm@tmp/durable-fc33 
> 9069/pid'; jsc=durable-0cd0becdd66e2d5e1c287736e0acaf0b; 
> JENKINS_SERVER_COOKIE=$ 
> jsc '/home/jenkins/workspace/slave-test-npm@tmp/durable-fc339069/script.sh' > 
> '/ 
> home/jenkins/workspace/slave-test-npm@tmp/durable-fc339069/jenkins-log.txt' 
> 2>&1 
> ; echo $? > 
> '/home/jenkins/workspace/slave-test-npm@tmp/durable-fc339069/jenkins 
> -result.txt' 
>
>
> Could this output be avoided ?
>
> Thanks for your support.
>
> Best regards
>       Sascha
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/915cc816-020d-4502-81c8-f203aac962e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to