Build bundle is empty when buildsDir is outside JENKINS_HOME

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

XMLWordPrintable

    • support-core:1718.vb_3b_47b_e0b_8d3

      When Jenkins is using a buildsDir that is outside $JENKINS_HOME/jobs the archive contains relativized path ../.

      For example JENKINS_HOME=/tmp/jenkins_home and using the system properties -Djenkins.model.Jenkins.buildsDir=/tmp/jenkins_home/builds/${ITEM_FULL_NAME}, getting a build bundle of build myfolder/myjob #13 would result in files like the following:

      items/../builds/myfolder/myjob/13/build.xml
      items/../builds/myfolder/myjob/13/changelog12345678901234467.xml
      items/../builds/myfolder/myjob/13/log
      items/../builds/myfolder/myjob/13/log-metadata
      items/../builds/myfolder/myjob/13/workflow/flowNodeStore.xml
      

            Assignee:
            Allan BURDAJEWICZ
            Reporter:
            Allan BURDAJEWICZ
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: