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

Perforce unable to sync to changelist that contains import action

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • p4-plugin
    • None
    • Hudson ver. 1.360, Perforce Server ver. 2009.2

      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

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

              Created:
              Updated:
              Resolved: