Job cannot be invoked from TFS Release Management

XMLWordPrintable

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

      When the TFS build/release task "Jenkins Queue Job" runs in a TFS Release Management process, the environment variable "Build.Repository.Uri" is not available. This results in a crash with the following stack trace:

      {{java.lang.Error: java.net.URISyntaxException: Cannot parse Git URI-ish: The uri was empty or null
      at hudson.plugins.tfs.model.GitCodePushedEventArgs.getRepoURIish(GitCodePushedEventArgs.java:23)
      at hudson.plugins.tfs.CommitParameterAction.<init>(CommitParameterAction.java:20)
      at hudson.plugins.tfs.model.BuildCommand.contributeTeamBuildParameterActions(BuildCommand.java:227)
      at hudson.plugins.tfs.model.BuildCommand.perform(BuildCommand.java:110)}}

            Assignee:
            David Staheli
            Reporter:
            David Staheli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: