Polling doesn't work with variable in project path

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: tfs-plugin
    • None

      Hi,

      I've set the following:

      Project Name = Src
      TFS Project Path" = $/SourcePath/${JOB_NAME}
      

      This is so I can use the Job (Project) Name to control which branch to build.

      Within

      protected PollingResult compareRemoteRevisionWith() (TeamFoundationServerSCM.java)
      

      we have

      if (!projectPath.equalsIgnoreCase(tfsBaseline.projectPath))
      

      the two variables have the values

      projectPath = $/SourcePath/${JOB_NAME}
      tfsBaseline.projectPath = $/SourcePath/Src
      

      These are not equal, and therefore the test fails, and it always builds.

            Assignee:
            Olivier Dagenais
            Reporter:
            Robert Rochford
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: