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

Paths not "sanitized" in AccuRev CheckForChanges

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • accurev-plugin
    • None

      Recently I added a job that uses a filter when polling the SCM.
      In the log I could see the message This transaction seems to have happened after the latest build!!!, but no build was triggered.
      After looking in the code I'm pretty sure that this is due to the fact that the paths are not sanitized in CheckForChanges.java.
      By that I mean that my paths might contain different path separators (forward/backward slashes) than the paths in serverPaths.

      I think that converting the path to a File object and back might help (have not yet tried this), but other/better fixes/suggestions are welcome.

            arnom Arno Moonen
            arnom Arno Moonen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: