Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-70227

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core
    • None

      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

            Unassigned Unassigned
            igorhx Igor Hx
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: