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

@script folder contains unexpected data

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Not A Defect
    • Component/s: subversion-plugin
    • Labels:
    • Environment:
    • Similar Issues:

      Description

      My Jenkins setup is one master server without executors and multiple build nodes.

      I'm using multibranch pipelines to execute gradle builds.

      The code is stored in SVN.

       

      On the master server, the @script folder of the workspace for a branch contains the gradle wrapper scripts, the "gradle" folder of the repository and also another one of the folders (named "Tools") from the repository.

      This means that a lot of disk space is consumed on master for data which isn't needed there - the gradle build is executed on the build node only.

      Due to limited disk space on the master server this is a big problem for me to have unneeded data stored there.

        Attachments

          Activity

          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          This is specific to the SCM implementation. Jenkins itself supports partial checkout, but the plugin needs to provide support for it to avoid full directory checkout

          Show
          oleg_nenashev Oleg Nenashev added a comment - This is specific to the SCM implementation. Jenkins itself supports partial checkout, but the plugin needs to provide support for it to avoid full directory checkout
          Hide
          the_qa_guy Tobias Geyer added a comment -

          Thank you Oleg Nenashev for the info. 

          My main confusion stems from the fact that it's not a full directory checkout but a very weird partial one. None of the files which I can see are Jenkins pipeline files.

           

          Show
          the_qa_guy Tobias Geyer added a comment - Thank you Oleg Nenashev  for the info.  My main confusion stems from the fact that it's not a full directory checkout but a very weird partial one. None of the files which I can see are Jenkins pipeline files.  
          Hide
          the_qa_guy Tobias Geyer added a comment -

          Solved the mystery. The weird content of the @script folder is explained by the disk becoming full during the checkout, so lots of files couldn't be written.

          Show
          the_qa_guy Tobias Geyer added a comment - Solved the mystery. The weird content of the @script folder is explained by the disk becoming full during the checkout, so lots of files couldn't be written.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            the_qa_guy Tobias Geyer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: