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.
>
>
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]
*
; On Fri, Mar 17, 2017 at 12:40 PM, 'Sascha Vujevic' via Jenkins Users <
> jenkins...@googlegroups.com > wrote:
>
>> Hello developers,
>>
>> i don't know if i use the kubernetes-plugin correct:
>> My jenkinsfile looks like:
>>
>
Hello developers,
i don't know if i use the kubernetes-plugin correct:
My jenkinsfile looks like:
podTemplate(label: 'mypod', containers: [
containerTemplate(name: 'maven', image: 'myOwnMavenImage:latest'',
ttyEnabled: true, command: 'cat')
]) {
node ('mypod') {