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

Enhance starteam plugin

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: In Progress (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: starteam-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      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

          Hide
          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.

          Show
          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.
          Hide
          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

          Show
          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
          Hide
          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

          Show
          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
          Hide
          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

          Show
          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
          Hide
          jan_ruzicka jan_ruzicka added a comment -

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

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

            People

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

              Dates

              Created:
              Updated: