running

docker run \
 -u jenkins \
 --rm \
 -d \
 -p 8080:8080 \
 -p 50000:50000 \
 -v /var/run/docker.sock:/var/run/docker.sock \
* -v /home/jenkins:/var/jenkins_home \*
 jenkins/jenkins:lts 

because when I try to run the script in the tutorial, it fails.


*+ /home/jenkins/scripts/fibonacci.sh 5 
/var/jenkins_home/workspace/script@tmp/durable-14129c06/script.sh: 1: 
/var/jenkins_home/workspace/script@tmp/durable-14129c06/script.sh: 
/home/jenkins/scripts/fibonacci.sh: not found*

There is no /var/jenkins_home folder

jenkins:~$ cd /var
jenkins:/var$ ls
backups  cache  crash  lib  local  lock  log  mail  opt  run  snap  spool  
tmp

[image: Capture.JPG]

-- 
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/e15412a3-22a5-474c-ad0b-0dd3783551e0n%40googlegroups.com.

Reply via email to