Has the slave been restarted after setting the groups? On unix the groups 
are only refreshed on login.

chris....@gmail.com schrieb am Donnerstag, 29. April 2021 um 14:23:58 UTC+2:

> Dear all,
>
> I have a jenkins slave running on linux (jenkins version 2.249.2). The 
> strange thing is that when I log into this slave via ssh using the jenkins 
> account I can see (using the groups command) that 'jenkins' is member of 
> some groups, including the docker group. However, when I put an "sh 
> 'groups' "line in the Jenkinsfile this user jenkins is not a member of any 
> group besides the 'jenkins' group. This is a problem because it means that 
> I cannot do a docker build from this jenkins file. Some time ago this used 
> to be work but it stopped working for no apparent reason.
>
> Do any of you have any idea what to do about this?
>
> Thanks in advance!
> Chris
>

-- 
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/529a1f58-fb66-4378-9ad5-f5451a2d0624n%40googlegroups.com.

Reply via email to