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

All build logs added and committed when renaming job

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Labels:
      None
    • Environment:
      SCM Sync 0.0.6.1
      Jenkins 1.484
    • Similar Issues:

      Description

      Using Git as back end, when renaming a job the commit added all files under /job/renamedJob/* to the commit, rather that just the ones supposed to be included by default.

      the commit message looks like:

      Job [oldJobName] hierarchy renamed from [jobs/oldJobName] to [jobs/newJobName] by user

      The commit added 114 new files:

      jobs/newJobName/builds/date/triggerlog.xml
      jobs/newJobName/builds/date/build.xml
      jobs/newJobName/builds/date/changelog.xml
      jobs/newJobName/builds/date/injectedEnvVars.txt

      repeating for each retaining build.

      The documentation says it should only be including the following by default:
      config.xml
      hudson*.xml
      scm-sync-configuration.xml
      jobs/*/config.xml

      but it incorrectly add jobs/newJobName/builds/*.[txt|xml]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fcamblor Frédéric Camblor
                Reporter:
                trbaker Trevor Baker
              • Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: