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

Perforce unable to sync to changelist that contains import action

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: perforce-plugin
    • Labels:
      None
    • Environment:
      Hudson ver. 1.360, Perforce Server ver. 2009.2
    • Similar Issues:

      Description

      When performing a remote depot integration, the action type is "import". The following error is generated while attempting to sync:

      Building on master
      Using master perforce client: newdepottest
      [workspace] $ "C:
      Program Files\\Perforce
      p4.exe" workspace -o newdepottest
      Saving modified client newdepottest
      [workspace] $ "C:
      Program Files\\Perforce
      p4.exe" -s client -i
      Last sync'd change: 0
      [workspace] $ "C:
      Program Files\\Perforce
      p4.exe" counter change
      [workspace] $ "C:
      Program Files\\Perforce
      p4.exe" -s changes //newdepottest/...@1,@9
      [workspace] $ "C:
      Program Files\\Perforce
      p4.exe" describe -s 6
      Caught exception communicating with perforce. Failed to retrieve changelist.com.tek42.perforce.PerforceException: Failed to retrieve changelist.
      at com.tek42.perforce.parse.ChangelistBuilder.build(ChangelistBuilder.java:184)
      at com.tek42.perforce.parse.Changes.getChangelist(Changes.java:63)
      at com.tek42.perforce.parse.Changes.getChangelistsFromNumbers(Changes.java:381)
      at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:493)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1044)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411)
      at hudson.model.Run.run(Run.java:1241)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:124)
      Caused by: java.lang.IllegalArgumentException: No enum const class com.tek42.perforce.model.Changelist$FileEntry$Action.IMPORT
      at java.lang.Enum.valueOf(Enum.java:196)
      at com.tek42.perforce.model.Changelist$FileEntry$Action.valueOf(Changelist.java:88)
      at com.tek42.perforce.parse.ChangelistBuilder.build(ChangelistBuilder.java:174)
      ... 10 more

        Attachments

          Activity

            People

            • Assignee:
              rpetti Rob Petti
              Reporter:
              ayalaa ayalaa
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: