Re: kubernetes-plugin: logging output

2017-03-29 Thread 'Sascha Vujevic' via Jenkins Users
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. > >

kubernetes-plugin: logging output

2017-03-24 Thread 'Sascha Vujevic' via Jenkins Users
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] *

Re: kubernetes-plugin: containertemplate with shell-script in entrypoint

2017-03-17 Thread 'Sascha Vujevic' via Jenkins Users
; 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: >> >

kubernetes-plugin: containertemplate with shell-script in entrypoint

2017-03-17 Thread &#x27;Sascha Vujevic&#x27; via Jenkins Users
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') {