Hello All,
I found out what the problem was. It turns out that in the Jenkinsfile the
agent was 'dockerfile' so it actually was
running docker inside docker. The outer docker invocation is where it lost
the groups. Adding a simple -u option
with the correct groups to the outer docker arguments s
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
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 "s