Skip to content

Instantly share code, notes, and snippets.

@3r1co
Last active September 23, 2016 13:04
Show Gist options
  • Save 3r1co/794d9fefd799cca865e4ca3a531c01af to your computer and use it in GitHub Desktop.
Save 3r1co/794d9fefd799cca865e4ca3a531c01af to your computer and use it in GitHub Desktop.
##### Pipeline #####
node('kubernetes') {
deleteDir()
sh 'ls -ltr'
withPod(image: 'alpine:3.4') {
sh 'ls -ltr'
}
}
##### Build #####
Started by user anonymous
[Pipeline] node
Running on slave-bab13a55d9ac2 in /home/jenkins/workspace/workspace/TestPipeline
[Pipeline] {
[Pipeline] deleteDir
[Pipeline] sh
[TestPipeline] Running shell script
+ ls -ltr
total 0
[Pipeline] withPod
[Pipeline] {
[Pipeline] sh
[TestPipeline] Running shell script
sh -c echo $$ > '/home/jenkins/workspace/workspace/TestPipeline@tmp/durable-724f8710/pid'; jsc=durable-7d70d7d764e394b8964d3c7265eb5bc1; JENKINS_SERVER_COOKIE=$jsc '/home/jenkins/workspace/workspace/TestPipeline@tmp/durable-724f8710/script.sh' > '/home/jenkins/workspace/workspace/TestPipeline@tmp/durable-724f8710/jenkins-log.txt' 2>&1; echo $? > '/home/jenkins/workspace/workspace/TestPipeline@tmp/durable-724f8710/jenkins-result.txt'
exit
/home/jenkins/workspace/workspace/TestPipeline # sh -c echo $$ > '/home/jenkins/
workspace/workspace/TestPipeline@tmp/durable-724f8710/pid'; jsc=durable-7d70d7d7
64e394b8964d3c7265eb5bc1; JENKINS_SERVER_COOKIE=$jsc '/home/jenkins/workspace/wo
rkspace/TestPipeline@tmp/durable-724f8710/script.sh' > '/home/jenkins/workspace/
workspace/TestPipeline@tmp/durable-724f8710/jenkins-log.txt' 2>&1; echo $? > '/h
ome/jenkins/workspace/workspace/TestPipeline@tmp/durable-724f8710/jenkins-result
.txt'
/bin/sh: can't create /home/jenkins/workspace/workspace/TestPipeline@tmp/durable-724f8710/pid: nonexistent directory
/bin/sh: can't create /home/jenkins/workspace/workspace/TestPipeline@tmp/durable-724f8710/jenkins-log.txt: nonexistent directory
/bin/sh: can't create /home/jenkins/workspace/workspace/TestPipeline@tmp/durable-724f8710/jenkins-result.txt: nonexistent directory
/home/jenkins/workspace/workspace/TestPipeline # exit
Error executing command in container: Error executing in Docker Container: 1[Pipeline] }
[Pipeline] // withPod
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
[BFA] Scanning build for known causes...
[BFA] No failure causes found
[BFA] Done. 0s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment