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

build.xml contains absolute paths that break when job is moved or renamed.

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major

      The element <changelogFile> refers the changeling XML through an absolute path that is no longer valid when a job is renamed or moved to a folder.

      As a result the changes lists of all branches and builds of an affected jobs are empty after the operation.

          [JENKINS-52835] build.xml contains absolute paths that break when job is moved or renamed.

          R added a comment - - edited

          The same holds for the <workspace> element and the <ws> element in hudson.plugins.git.GitTagAction.

          And elements in hudson.plugins.logparser.LogParserAction:

              <hudson.plugins.logparser.LogParserAction plugin="log-parser@2.1">
                <result>
                  <htmlLogFile>*this one*</htmlLogFile>
                  <errorLinksFile>*this one*</errorLinksFile>
                  <warningLinksFile>*this one*</warningLinksFile>
                  <infoLinksFile>*this one*</infoLinksFile>
                  <debugLinksFile>*this one*</debugLinksFile>
                  <htmlLogPath>*this one*</htmlLogPath>
                  <parsedLogURL>*this one, while not relative, it's still hardcoded so breaks when the project is renamed*</parsedLogURL>
                </result>
              </hudson.plugins.logparser.LogParserAction>
          

          R added a comment - - edited The same holds for the <workspace> element and the <ws> element in hudson.plugins.git.GitTagAction . And elements in hudson.plugins.logparser.LogParserAction : <hudson.plugins.logparser.LogParserAction plugin= "log-parser@2.1" > <result> <htmlLogFile> *this one* </htmlLogFile> <errorLinksFile> *this one* </errorLinksFile> <warningLinksFile> *this one* </warningLinksFile> <infoLinksFile> *this one* </infoLinksFile> <debugLinksFile> *this one* </debugLinksFile> <htmlLogPath> *this one* </htmlLogPath> <parsedLogURL> *this one, while not relative, it's still hardcoded so breaks when the project is renamed* </parsedLogURL> </result> </hudson.plugins.logparser.LogParserAction>

            Unassigned Unassigned
            kimonhoffmann Kimon Hoffmann
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: