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

Job cannot be invoked from TFS Release Management

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 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)}}

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

              Created:
              Updated:
              Resolved: