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

Starteam plugin error when executing checkout by label.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • starteam-plugin
    • System is Windows XP SP3;
      Jenkins version is :jenkins-1.450;
      Starteam SDK is:StarTeam SDK 10.0
      StarTeam plugin is:0.6.7

      Reproducible setup:
      1.Create a view label in existing starteam project(e.g. the starteam project is "stproj".view is "stview".view label is "stvl" and the project folder is "src").

      2.set above variable to Jenkins(The checkout job works well if variable "Label name" is blank) :
      Hostname:
      Port:
      Project name:stproj
      View name: stview
      Label name (optional):stvl
      Folder name:stview/src
      Username:
      Password:

      3.Then invoke Jenkins begin checkout.

      Error as below:
      Started by user admin
      Building on master in workspace D:\Jenkins\workspace\stcl
      Computing change set performing checkout ...

          • Performing checkout on [84] files
            [co] Deleted File: D:\Jenkins\workspace\stcl\include\aci\aci.h
            [co] D:\Jenkins\workspace\stcl\include\aci\aci.h... attempt
            [checkout] [exception] [Problem checking out file: D:\Jenkins\workspace\stcl\include\aci\aci.h]
            A view can only be modified from its current configuration.
            at com.starbase.starteam.ServerException.wrap(Unknown Source)
            at com.starbase.starteam.Server.wrap(Unknown Source)
            at com.starbase.starteam.File.checkout(Unknown Source)
            at hudson.plugins.starteam.StarTeamConnection.checkOut(StarTeamConnection.java:232)
            at hudson.plugins.starteam.StarTeamCheckoutActor.invoke(StarTeamCheckoutActor.java:146)
            at hudson.plugins.starteam.StarTeamCheckoutActor.invoke(StarTeamCheckoutActor.java:34)
            at hudson.FilePath.act(FilePath.java:788)
            at hudson.FilePath.act(FilePath.java:770)
            at hudson.plugins.starteam.StarTeamSCM.checkout(StarTeamSCM.java:130)
            at hudson.model.AbstractProject.checkout(AbstractProject.java:1195)
            at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:576)
            at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:465)
            at hudson.model.Run.run(Run.java:1409)
            at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
            at hudson.model.ResourceController.execute(ResourceController.java:88)
            at hudson.model.Executor.run(Executor.java:238)

      FATAL: A view can only be modified from its current configuration.
      A view can only be modified from its current configuration.
      at com.starbase.starteam.ServerException.wrap(Unknown Source)
      at com.starbase.starteam.Server.wrap(Unknown Source)
      at com.starbase.starteam.File.checkout(Unknown Source)
      at hudson.plugins.starteam.StarTeamConnection.checkOut(StarTeamConnection.java:232)
      at hudson.plugins.starteam.StarTeamCheckoutActor.invoke(StarTeamCheckoutActor.java:146)
      at hudson.plugins.starteam.StarTeamCheckoutActor.invoke(StarTeamCheckoutActor.java:34)
      at hudson.FilePath.act(FilePath.java:788)
      at hudson.FilePath.act(FilePath.java:770)
      at hudson.plugins.starteam.StarTeamSCM.checkout(StarTeamSCM.java:130)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1195)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:576)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:465)
      at hudson.model.Run.run(Run.java:1409)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:238)

            hugares Hugo Ares
            tigerbos tiger tiger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: