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

Jenkins allows you to set BUILD_ROOT to ITEM_ROOT

XMLWordPrintable

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

      Jenkins allows you to set default directories for build records and job configuration.

       

      However it allows you to set them both to the same value.

      This is a bad idea and can cause plugins to not work as expected, or other unusual subtle to diagnose issues.

       

      Jenkins should give you a big fat warning if you set the job directly == build directory

       

      Steps to reproduce

      1. Go to Manage Jenkins -> Configure System [Advanced button] and change the value of Build Record Root Directory to ${ITEM_ROOTDIR}

      Expected Results

      • A FormWarning on the field
      • An administrative warning if the configuration is saved. (or the configuration is rejected)

      Actual Results

      • No warnings or other information that "this is a bad thing"™

            Unassigned Unassigned
            teilo James Nord
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: