Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: tfs-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      The following email chain explains the enhancement to allow the TFS plugin to
      pull down code from a label or date instead of just the latest.

      ---------------------------------------------------

      On Mon, Feb 9, 2009 at 10:45 AM, Erik Ramfelt <eramfelt@gmail.com>
      wrote:
      > Sure, that should not be a problem to add an optional parameter for
      > version. And together with Kohsuke's change it will also support build
      > parameters. I will try to look at asap.
      >
      > //Erik
      >
      > On Fri, Feb 6, 2009 at 4:56 PM, <matt.dimich@thomsonreuters.com>
      wrote:
      >> I think all that would be needed is to add a /version parm to the get
      >> command. Then you could specify a changeset, date time, label etc in
      that
      >> field to build whatever build you want. Here's a snippet from msdn:
      >>
      >>
      >>
      >> http://msdn.microsoft.com/en-us/library/fx7sdeyf(VS.80).aspx
      >>
      >>
      >>
      >>
      >>
      >> /version
      >>
      >> Optional version specification. The versionspec is the version of the
      item
      >> you want to retrieve. You can specify a version by:
      >>
      >> * Date/time (D10/20/2005)
      >>
      >> * Changeset version (C1256)
      >>
      >> * Label (Lmylabel)
      >>
      >> * Latest version (T)
      >>
      >> * Workspace version (Wworkspacename;owner)
      >>
      >> * If no version is provided, Team Foundation Server retrieves
      the
      >> latest server version of the specified itemspec into your workspace.
      >>
      >>
      >>
      >>
      >>
      >> I suppose the default value could be the current date and time, and
      if an
      >> optional parameter was sent in use that value instead? Thoughts?
      >>
      >>
      >>
      >> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

      • * *
        >> *
        >>
        >> Matt Dimich
        >>
        >>
        >>
        >>> ----Original Message----
        >>
        >>> From: erik.ramfelt@gmail.com erik.ramfelt@gmail.com On
        Behalf Of
        >>
        >>> Erik Ramfelt
        >>
        >>> Sent: Thursday, February 05, 2009 3:41 PM
        >>
        >>> To: users@hudson.dev.java.net
        >>
        >>> Subject: Re: TFS build by label?
        >>
        >>>
        >>
        >>> As I can remember there is no support for building by label at all
        in
        >>
        >>> the TFS plugin. But I think it shouldnt be too hard to add if I can
        >>
        >>> get some help on what commands that the TFS command line tool
        wants,
        >>
        >>> and their output.
        >>
        >>>
        >>
        >>> For the question about parameterized builds and SCM labels, does
        >>
        >>> anyone have any idea on how do it properly?
        >>
        >>>
        >>
        >>> //Erik
        >>
        >>>
        >>
        >>> On Thu, Feb 5, 2009 at 8:50 PM, <matt.dimich@thomsonreuters.com>
        wrote:
        >>
        >>> > I want to be able to build by pulling code from a label in TFS. I
        would
        >>
        >>> > think it could be a parameterized build and the label to build
        could be
        >>
        >>> > passed in. Has anyone else done this in TFS or other SCM? Is it
        >>
        >>> currently
        >>
        >>> > possible?
        >>
        >>> >
        >>
        >>> >
        >>
        >>> >
        >>
        >>> > Thanks!
        >>
        >>> >
        >>
        >>> > Matt

        Attachments

          Activity

            People

            • Assignee:
              oli_at_jsi Olivier Dagenais
              Reporter:
              mtdimich mtdimich
            • Votes:
              10 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: