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

Enhance starteam plugin

    XMLWordPrintable

Details

    • Improvement
    • Status: In Progress (View Workflow)
    • Major
    • Resolution: Unresolved
    • starteam-plugin
    • None
    • Platform: All, OS: All

    Description

      Hi,

      Starteam plugin enhancement.

      1. Change-log
      2. Checkout on label
      3. Checkout on promotion state
      4. Checkout as at current time
      5. Multi-folder checkout
      6. Checkout polling

      This has been tested in production for some time.

      Thank you Ilkka Laukkanen for the initial implementation and Eric Broyles for
      enhancements.

      -Timothy Twelves

      Attachments

        Activity

          tim12s tim12s created issue -
          tim12s tim12s added a comment -

          Created an attachment (id=524)
          Complete code that must replace existing starteam plugin. Note - i could not view the current pom repository says its unavailable so this may need to be merged if there are changes i cannot see.

          tim12s tim12s added a comment - Created an attachment (id=524) Complete code that must replace existing starteam plugin. Note - i could not view the current pom repository says its unavailable so this may need to be merged if there are changes i cannot see.
          pamdirac John McNair added a comment -

          I no longer work at a company using StarTeam, so I am unable to maintain this
          plugin.

          pamdirac John McNair added a comment - I no longer work at a company using StarTeam, so I am unable to maintain this plugin.
          pamdirac John McNair added a comment -

          I no longer use StarTeam.

          pamdirac John McNair added a comment - I no longer use StarTeam.
          pamdirac John McNair added a comment -

          I no longer use StarTeam.

          pamdirac John McNair added a comment - I no longer use StarTeam.
          jan_ruzicka jan_ruzicka made changes -
          Field Original Value New Value
          Assignee tim12s [ tim12s ] jan_ruzicka [ jan_ruzicka ]

          Code changed in hudson
          User: : jan_ruzicka
          Path:
          trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/PluginImpl.java
          trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamChangeLogBuilder.java
          trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamChangeLogEntry.java
          trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamChangeLogParser.java
          trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamChangeLogSet.java
          trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamCheckoutActor.java
          trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamConnection.java
          trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamPollingActor.java
          trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamSCM.java
          trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamSCMException.java
          trunk/hudson/plugins/starteam/src/main/resources/hudson/plugins/starteam/StarTeamChangeLogSet/digest.jelly
          trunk/hudson/plugins/starteam/src/main/resources/hudson/plugins/starteam/StarTeamChangeLogSet/index.jelly
          trunk/hudson/plugins/starteam/src/main/resources/hudson/plugins/starteam/StarTeamSCM/project-changes.jelly
          trunk/hudson/plugins/starteam/src/test/java/hudson/plugins/starteam/StarTeamSCMTest.java
          trunk/hudson/plugins/starteam/src/test/java/hudson/plugins/starteam/StarteamCheckoutActorTest.java
          trunk/hudson/plugins/starteam/src/test/java/hudson/plugins/starteam/integration/StarteamConnectionIntegrationTest.java
          http://jenkins-ci.org/commit/32852
          Log:
          folding changes from JENKINS-6955, JENKINS-2879 and plugin wiki

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : jan_ruzicka Path: trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/PluginImpl.java trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamChangeLogBuilder.java trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamChangeLogEntry.java trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamChangeLogParser.java trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamChangeLogSet.java trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamCheckoutActor.java trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamConnection.java trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamPollingActor.java trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamSCM.java trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamSCMException.java trunk/hudson/plugins/starteam/src/main/resources/hudson/plugins/starteam/StarTeamChangeLogSet/digest.jelly trunk/hudson/plugins/starteam/src/main/resources/hudson/plugins/starteam/StarTeamChangeLogSet/index.jelly trunk/hudson/plugins/starteam/src/main/resources/hudson/plugins/starteam/StarTeamSCM/project-changes.jelly trunk/hudson/plugins/starteam/src/test/java/hudson/plugins/starteam/StarTeamSCMTest.java trunk/hudson/plugins/starteam/src/test/java/hudson/plugins/starteam/StarteamCheckoutActorTest.java trunk/hudson/plugins/starteam/src/test/java/hudson/plugins/starteam/integration/StarteamConnectionIntegrationTest.java http://jenkins-ci.org/commit/32852 Log: folding changes from JENKINS-6955 , JENKINS-2879 and plugin wiki
          jan_ruzicka jan_ruzicka made changes -
          Status Open [ 1 ] In Progress [ 3 ]

          Code changed in hudson
          User: : jan_ruzicka
          Path:
          http://jenkins-ci.org/commit/33434
          Log:
          creating branch for changes from JENKINS-2879

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : jan_ruzicka Path: http://jenkins-ci.org/commit/33434 Log: creating branch for changes from JENKINS-2879

          Code changed in hudson
          User: : jan_ruzicka
          Path:
          branches/starteam-0.3-SNAPSHOT/pom.xml
          branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/PluginImpl.java
          branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamChangeLogBuilder.java
          branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamChangeLogEntry.java
          branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamChangeLogParser.java
          branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamChangeLogSet.java
          branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamChangeSet.java
          branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamCheckoutActor.java
          branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamConnection.java
          branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamFilePoint.java
          branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamFilePointFunctions.java
          branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamFunctions.java
          branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamPollingActor.java
          branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamRepositoryBrowser.java
          branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamSCM.java
          branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamSCMException.java
          branches/starteam-0.3-SNAPSHOT/src/main/resources/hudson/plugins/starteam/StarTeamChangeLogSet/digest.jelly
          branches/starteam-0.3-SNAPSHOT/src/main/resources/hudson/plugins/starteam/StarTeamChangeLogSet/index.jelly
          branches/starteam-0.3-SNAPSHOT/src/main/resources/hudson/plugins/starteam/StarTeamSCM.stapler
          branches/starteam-0.3-SNAPSHOT/src/main/resources/hudson/plugins/starteam/StarTeamSCM/config.jelly
          branches/starteam-0.3-SNAPSHOT/src/main/resources/hudson/plugins/starteam/StarTeamSCM/project-changes.jelly
          branches/starteam-0.3-SNAPSHOT/src/main/resources/hudson/plugins/starteam/package.html
          branches/starteam-0.3-SNAPSHOT/src/main/webapp/help/stfoldername.html
          branches/starteam-0.3-SNAPSHOT/src/main/webapp/help/stlabelname.html
          branches/starteam-0.3-SNAPSHOT/src/main/webapp/help/stpromotionstate.html
          branches/starteam-0.3-SNAPSHOT/src/test/java/hudson/plugins/starteam/StarTeamConnectionTest.java
          branches/starteam-0.3-SNAPSHOT/src/test/java/hudson/plugins/starteam/StarteamCheckoutTest.java
          http://jenkins-ci.org/commit/33435
          Log:
          JENKINS-2879 Enhance starteam plugin - getting changes to subversion

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : jan_ruzicka Path: branches/starteam-0.3-SNAPSHOT/pom.xml branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/PluginImpl.java branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamChangeLogBuilder.java branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamChangeLogEntry.java branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamChangeLogParser.java branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamChangeLogSet.java branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamChangeSet.java branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamCheckoutActor.java branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamConnection.java branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamFilePoint.java branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamFilePointFunctions.java branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamFunctions.java branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamPollingActor.java branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamRepositoryBrowser.java branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamSCM.java branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamSCMException.java branches/starteam-0.3-SNAPSHOT/src/main/resources/hudson/plugins/starteam/StarTeamChangeLogSet/digest.jelly branches/starteam-0.3-SNAPSHOT/src/main/resources/hudson/plugins/starteam/StarTeamChangeLogSet/index.jelly branches/starteam-0.3-SNAPSHOT/src/main/resources/hudson/plugins/starteam/StarTeamSCM.stapler branches/starteam-0.3-SNAPSHOT/src/main/resources/hudson/plugins/starteam/StarTeamSCM/config.jelly branches/starteam-0.3-SNAPSHOT/src/main/resources/hudson/plugins/starteam/StarTeamSCM/project-changes.jelly branches/starteam-0.3-SNAPSHOT/src/main/resources/hudson/plugins/starteam/package.html branches/starteam-0.3-SNAPSHOT/src/main/webapp/help/stfoldername.html branches/starteam-0.3-SNAPSHOT/src/main/webapp/help/stlabelname.html branches/starteam-0.3-SNAPSHOT/src/main/webapp/help/stpromotionstate.html branches/starteam-0.3-SNAPSHOT/src/test/java/hudson/plugins/starteam/StarTeamConnectionTest.java branches/starteam-0.3-SNAPSHOT/src/test/java/hudson/plugins/starteam/StarteamCheckoutTest.java http://jenkins-ci.org/commit/33435 Log: JENKINS-2879 Enhance starteam plugin - getting changes to subversion

          Code changed in hudson
          User: : jan_ruzicka
          Path:
          branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamChangeSet.java
          branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamConnection.java
          branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamPollingActor.java
          branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamSCM.java
          http://jenkins-ci.org/commit/33437
          Log:
          JENKINS-2879 Enhance starteam plugin - applying changes from wiki attachments. Thanks to Nick Redshaw

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : jan_ruzicka Path: branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamChangeSet.java branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamConnection.java branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamPollingActor.java branches/starteam-0.3-SNAPSHOT/src/main/java/hudson/plugins/starteam/StarTeamSCM.java http://jenkins-ci.org/commit/33437 Log: JENKINS-2879 Enhance starteam plugin - applying changes from wiki attachments. Thanks to Nick Redshaw

          Code changed in hudson
          User: : jan_ruzicka
          Path:
          trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamChangeLogBuilder.java
          trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamChangeLogEntry.java
          trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamChangeSet.java
          trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamCheckoutActor.java
          trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamConnection.java
          trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamFilePoint.java
          trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamFilePointFunctions.java
          trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamFunctions.java
          trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamPollingActor.java
          trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamSCM.java
          trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamViewSelector.java
          trunk/hudson/plugins/starteam/src/test/java/hudson/plugins/starteam/StarTeamSCMTest.java
          trunk/hudson/plugins/starteam/src/test/java/hudson/plugins/starteam/StarTeamViewSelectorTest.java
          trunk/hudson/plugins/starteam/src/test/java/hudson/plugins/starteam/StarteamCheckoutActorTest.java
          trunk/hudson/plugins/starteam/src/test/java/hudson/plugins/starteam/integration/StarTeamViewSelectorIntegrationTest.java
          trunk/hudson/plugins/starteam/src/test/java/hudson/plugins/starteam/integration/StarteamConnectionIntegrationTest.java
          http://jenkins-ci.org/commit/33553
          Log:
          JENKINS-2879 Enhance starteam plugin - folding changes to trunk; unit tests pass; still needs cleanup

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : jan_ruzicka Path: trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamChangeLogBuilder.java trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamChangeLogEntry.java trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamChangeSet.java trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamCheckoutActor.java trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamConnection.java trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamFilePoint.java trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamFilePointFunctions.java trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamFunctions.java trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamPollingActor.java trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamSCM.java trunk/hudson/plugins/starteam/src/main/java/hudson/plugins/starteam/StarTeamViewSelector.java trunk/hudson/plugins/starteam/src/test/java/hudson/plugins/starteam/StarTeamSCMTest.java trunk/hudson/plugins/starteam/src/test/java/hudson/plugins/starteam/StarTeamViewSelectorTest.java trunk/hudson/plugins/starteam/src/test/java/hudson/plugins/starteam/StarteamCheckoutActorTest.java trunk/hudson/plugins/starteam/src/test/java/hudson/plugins/starteam/integration/StarTeamViewSelectorIntegrationTest.java trunk/hudson/plugins/starteam/src/test/java/hudson/plugins/starteam/integration/StarteamConnectionIntegrationTest.java http://jenkins-ci.org/commit/33553 Log: JENKINS-2879 Enhance starteam plugin - folding changes to trunk; unit tests pass; still needs cleanup
          jan_ruzicka jan_ruzicka added a comment -

          The Multi-folder checkout feature was not folded to the trunk.
          It should probably be a separate and repeatable plugin option allowing separate configurations.

          jan_ruzicka jan_ruzicka added a comment - The Multi-folder checkout feature was not folded to the trunk. It should probably be a separate and repeatable plugin option allowing separate configurations.
          smadden Sandra Madden added a comment -

          Is this still being worked on? I'm really interested in the Multi-folder checkout and would like to put my vote on it

          smadden Sandra Madden added a comment - Is this still being worked on? I'm really interested in the Multi-folder checkout and would like to put my vote on it
          jan_ruzicka jan_ruzicka added a comment -

          It is not being worked on at the moment.
          But there may be even better solution.
          If the Starteam Plugin behaves correctly, it can be used with Multiple SCMs Plugin[1].

          Can you help with testing?

          [1] https://wiki.jenkins-ci.org/display/JENKINS/Multiple+SCMs+Plugin

          jan_ruzicka jan_ruzicka added a comment - It is not being worked on at the moment. But there may be even better solution. If the Starteam Plugin behaves correctly, it can be used with Multiple SCMs Plugin [1] . Can you help with testing? [1] https://wiki.jenkins-ci.org/display/JENKINS/Multiple+SCMs+Plugin
          smadden Sandra Madden added a comment -

          The Multiple SCMs plugin was a great idea, unfortunately it doesn't work quite yet with StarTeam. I setup a test system with the latest Jenkins (1.502), the Multiple SCMs and StarTeam plugins and tried to build a test project. Several problems exist

          1) the Multiple SCMs plugin looses it's configuration when re-entering the Projects Config page. So you type the config in, apply the changes and save. Kick off a build and it checks out the files. Open the projects config page again and the StarTeam configuration fields are all empty.

          2) all SCM's check out into the root of the workspace. E.g. I have two instances of the StarTeam plugin. The paths to the different folders in StarTeam are Suite\ToolA and \Suite\ToolB. Expected would be that the files are checked out into %WORKSPACE%\Suite\ToolA and %WORKSPACE%\Suite\ToolB or at least %WORKSPACE%\ToolA and %WORKSPACE%\ToolB. But they are all checked out into %WORKSPACE% directly.

          3) Files that are not in the view of the current SCM will be deleted during checkout. Meaning if you have two StarTeam SCMs (using the example from above) and checkout Suite\ToolA, it'll delete all files that belong to Suite\ToolB because they are not in the View of Suite\ToolA. When it is done with the first SCM, it will start checking out all files from Suite\ToolB and this time around delete all files that it previously checked out for Suite\ToolA.

          It would be awesome if you could find a way to fix those things and make the StarTeam plugin compatible with the Multiple SCM's plugin. Maybe just an added job configuration option that says always cleanup workspace (enable/disable). And maybe specifying the root folder for the checkout, with the default of %WORKSPACE%\<Starteam Folder name> or so.

          Thanks for the quick response btw
          Sandra

          smadden Sandra Madden added a comment - The Multiple SCMs plugin was a great idea, unfortunately it doesn't work quite yet with StarTeam. I setup a test system with the latest Jenkins (1.502), the Multiple SCMs and StarTeam plugins and tried to build a test project. Several problems exist 1) the Multiple SCMs plugin looses it's configuration when re-entering the Projects Config page. So you type the config in, apply the changes and save. Kick off a build and it checks out the files. Open the projects config page again and the StarTeam configuration fields are all empty. 2) all SCM's check out into the root of the workspace. E.g. I have two instances of the StarTeam plugin. The paths to the different folders in StarTeam are Suite\ToolA and \Suite\ToolB. Expected would be that the files are checked out into %WORKSPACE%\Suite\ToolA and %WORKSPACE%\Suite\ToolB or at least %WORKSPACE%\ToolA and %WORKSPACE%\ToolB. But they are all checked out into %WORKSPACE% directly. 3) Files that are not in the view of the current SCM will be deleted during checkout. Meaning if you have two StarTeam SCMs (using the example from above) and checkout Suite\ToolA, it'll delete all files that belong to Suite\ToolB because they are not in the View of Suite\ToolA. When it is done with the first SCM, it will start checking out all files from Suite\ToolB and this time around delete all files that it previously checked out for Suite\ToolA. It would be awesome if you could find a way to fix those things and make the StarTeam plugin compatible with the Multiple SCM's plugin. Maybe just an added job configuration option that says always cleanup workspace (enable/disable). And maybe specifying the root folder for the checkout, with the default of %WORKSPACE%\<Starteam Folder name> or so. Thanks for the quick response btw Sandra
          jan_ruzicka jan_ruzicka added a comment -

          the multiple SCM seems to have issue with same types of repositories. (Git, TFS) JENKINS-9287.

          jan_ruzicka jan_ruzicka added a comment - the multiple SCM seems to have issue with same types of repositories. (Git, TFS) JENKINS-9287 .
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 132952 ] JNJira + In-Review [ 185317 ]

          People

            jan_ruzicka jan_ruzicka
            tim12s tim12s
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: