You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got rid of all user.home, argLine, etc. workarounds that cause a lot of trouble with surefire, failsafe, jacoco, pitest, etc.
Solution: Force java to use jenkins workspace as user.home by writing int into /etc/passwd.
Disadvantage: Docker image must be build once per workspace. Keep this in mind for #4!
Less log cluttering on jenkins. Faster builds.
Note: Add a version of the image (like, 1, 2, 3, 4) so a rebuilt can be forced when the dockerfile is changed.
Example to illustrate basic concept:
When
writeDockerFile()
is changed,DOCKER_FILE_VERSION
is increased by one, forcing a rebuild of the archive.The text was updated successfully, but these errors were encountered: