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 solved it the problem.
Have a nice day, 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/c8a90f09-41d7-406f-ae00-3d248a5d4084n%40googlegroups.com.