gitlab-plugin
gitlab-plugin copied to clipboard
Use custom workspace not work with GitLab plugin
Versions
Jenkins - 2.316 (also tested 2.303.2 LTS) GitLab plugin - 1.5.22
Operating System
Windows 10 x64
Reproduction steps
- Clean install Jenkins
- Install "most used plugins"
- Install GitLab plugin
- Create new freestyle job
- Check "Use custom directory" and set it
- Save job
Results
- Open job again, "Use custom directory" uncheked, directory is empty
How to fix
- Disable GitLab plugin
Also with GitLab plugin directory check not work:
Without plugin:
With plugin:
Same problem here. Deactivating the GitLab plugin is a workaround. But you might want to use the plugin. Hopefully this will get fixed soon
The same thing just happened to me and I was looking for a solution, thank you very much.
I can reproduce this issue on my side as well
I found something strange in for the Use custom workspace
setting for Freestyle projects with the help of @harsh-ps-2003, there seems to be duplicates of this field such that there are two Use custom workspace
fields in the form, but only the second one is functional and where the directory name is cached and shown.

Maybe we should hide the first Use custom workspace
as a fix for this issue.
Bug patched with PR #1429.