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

Changelog information for files are relative to depot path, not workspace path.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • p4-plugin
    • None

    Description

      Currently the perforce plugin supplies changelog information who's list of files are depot paths, not workspace-relative paths. This should be changed so that ChangeSet.Entry.getAffectedPaths() returns a list of paths relative to the workspace root. Currently, this is preventing incremental maven builds from working correctly.

      Attachments

        1. whereData.dat
          0.2 kB
          Scott MacDonald

        Issue Links

          Activity

            rpetti Rob Petti added a comment -

            You need to restart your Jenkins instance in order to upgrade/install plugins. The version number should show up as 1.2.9-SNAPSHOT.

            rpetti Rob Petti added a comment - You need to restart your Jenkins instance in order to upgrade/install plugins. The version number should show up as 1.2.9-SNAPSHOT.

            Ran a couple builds on 1.2.9-SNAPSHOT and so far all is well. I'll give a few days soak time and get back to you.

            scanguskhan Scott MacDonald added a comment - Ran a couple builds on 1.2.9-SNAPSHOT and so far all is well. I'll give a few days soak time and get back to you.
            swolk swolk added a comment - - edited

            I've been running this snapshot build since it was built, and I haven't seen any other issues.

            swolk swolk added a comment - - edited I've been running this snapshot build since it was built, and I haven't seen any other issues.
            dogfood dogfood added a comment -

            Integrated in plugins_perforce #117
            JENKINS-7618 improvements to where parsing

            Rob Petti :
            Files :

            • src/main/java/hudson/plugins/perforce/PerforceChangeLogEntry.java
            • src/main/java/com/tek42/perforce/parse/Changes.java
            • src/main/java/hudson/plugins/perforce/PerforceSCMHelper.java
            • src/test/java/hudson/plugins/perforce/PerforceSCMHelperTest.java
            dogfood dogfood added a comment - Integrated in plugins_perforce #117 JENKINS-7618 improvements to where parsing Rob Petti : Files : src/main/java/hudson/plugins/perforce/PerforceChangeLogEntry.java src/main/java/com/tek42/perforce/parse/Changes.java src/main/java/hudson/plugins/perforce/PerforceSCMHelper.java src/test/java/hudson/plugins/perforce/PerforceSCMHelperTest.java
            rpetti Rob Petti added a comment -

            Resolving as fixed.

            rpetti Rob Petti added a comment - Resolving as fixed.

            People

              rpetti Rob Petti
              rpetti Rob Petti
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: