JENKINS_HOME deleted by Jenkins

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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: core
    • Environment:
      CentOS 5.5
      JRE 1.6.0
      Jenkins 1.413

      If a project is configured with a "blank" custom workspace in it's Advanced Project Options, then when the workspace is cleaned, $JENKINS_HOME is deleted.

      More specifically, if the "Use custom workspace" option is ticked, but the "Directory" field is not filled in, then the workspace directory is effectively $JENKINS_HOME.

      Presumably this is because (as the docs mention) the custom workspace is relative to $JENKINS_HOME.

      This is a serious issue, because a workspace clean removes all Jenkins workspaces, all Jenkins job configuration etc. without warning.

      Please protect silly people like me from myself!!!!!

            Assignee:
            Unassigned
            Reporter:
            typerlc
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: