Duh. I needed to reboot/restart, blah, blah. Jenkins maybe docker too need
a restart. I just got mad and typed "reboot."
After the reboot, the Jenkins green circle appeared after a build.
*The success factor is this*
Make sure Jenkins is in Docker as a user
This was the key:
sudo usermod
Duh. I needed to reboot/restart, blah, blah.
I did this inside my pipeline:
sh 'id'
+ id
uid=119(jenkins) gid=128(jenkins) groups=128(jenkins),120(docker
Yeah! - Jenkins is there.
This was the key:
sudo usermod -aG docker jenkins
25 years as a developer and I still forget to reb
Inside Pipeline this works
sh 'docker info'
But if I do:
sh 'python mycode.py'
I get an error:
Unable to locate docker daemon
I did the usermod -aG command and verified Jenkins is partof the docker
group.
Is DOCKER_HOST missing from inside of Pipeline?
sh 'whoami'
...does r
Hi there,
Read the below thread as 1.464 version is a bit old ( >4 years old ):
https://groups.google.com/forum/m/#!searchin/jenkinsci-users/Upgrade/jenkinsci-users/55-9UlaD44A
You can look for some other threads about how to.backup your jenkins setup
before doing any actions in this mailing li
Hi,
Remote fie operations, such as mkdir (which in this case it appears is
being called by the bat pipeline step), now fail on my windows slave.
At first I thought it was down to the user initiating the build, but it
seems that may have been a red-herring, certainly the problem is user
indepen
Hello Everyone,
I would like to upgrade the Jenkins version from 1.464 to latest one.
Please advise if it will incur any incompatibility issue with the .jenkins
folder.
Thanks in anticipation..!!!
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" gro