-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins 2.379 running under Java 11.0.16.1 on Windows Server 2016.
Updated from 2.317 the proper way - first updated all plugins to latest versions, then Jenkins to 2.379, then again the plugins.
List of plugins is huge, don't know how to export and attach it here. However all of them are updated to latest available versions.Jenkins 2.379 running under Java 11.0.16.1 on Windows Server 2016. Updated from 2.317 the proper way - first updated all plugins to latest versions, then Jenkins to 2.379, then again the plugins. List of plugins is huge, don't know how to export and attach it here. However all of them are updated to latest available versions.
When editing a freestyle project, neither the "Use custom workspace checkbox" nor the custom workspace "directory" parameter value is being saved.
How to reproduce:
-Clone an existing project AAA which has custom workspace checkbox checked and set to C:\JenkinsWorkspaces\AAA, save this projects as BBB
-Edit project BBB, uncheck custom workspace checkbox, save the project
-Reopen project BBB for editing, the custom workspace is checked and value for directory is displayed as empty string
-Change value of directory to C:\JenkinsWorkspaces\BBB, save the project
-Reopen project BBB, the directory for custom workspace is displayed as empty string
-Check job config history, there will be no changes related to custom workspace settings
-Find the BBB project xml file on the Jenkins jobs folder and look for <customworkspace>, you will find the value C:\JenkinsWorkspaces\AAA there
Workaround:
-Stop Jenkins
-Edit <customworkspace> value directly in the project xml file
-Start Jenkins and from now the project will be build in the desired custom workspace