gitlab-plugin icon indicating copy to clipboard operation
gitlab-plugin copied to clipboard

Use custom workspace not work with GitLab plugin

Open afrostalin opened this issue 3 years ago • 3 comments

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

afrostalin avatar Oct 17 '21 06:10 afrostalin

Also with GitLab plugin directory check not work:

Without plugin: without_plugin

With plugin: with_plugin

afrostalin avatar Oct 17 '21 06:10 afrostalin

Same problem here. Deactivating the GitLab plugin is a workaround. But you might want to use the plugin. Hopefully this will get fixed soon

lbp-code avatar Aug 19 '22 14:08 lbp-code

The same thing just happened to me and I was looking for a solution, thank you very much.

AlexisNarvaez97 avatar Sep 13 '22 14:09 AlexisNarvaez97

I can reproduce this issue on my side as well

krisstern avatar Mar 11 '23 02:03 krisstern

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.

Screenshot 2023-03-13 at 9 24 13 PM

Maybe we should hide the first Use custom workspace as a fix for this issue.

krisstern avatar Mar 13 '23 13:03 krisstern

Bug patched with PR #1429.

krisstern avatar Mar 26 '23 22:03 krisstern