Custom workspace settings is not displayed correctly, it's not saved when edited

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: core
    • Environment:

      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

            Assignee:
            Unassigned
            Reporter:
            Igor Hx
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: