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

Pull-Request Status Request contains whitespace as statusName

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: tfs-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      I am using hosted VSTS and a merge service hook.

      Jenkins sends the pull-request status just fine, but VSTS does not allow me to set up status policies with whitespace as statusName.

      So there are two possibilities:
      a) VSTS is broken and should be fixed
      b) tfs-plugin does something it should not be allowed to do

      Effectively right now, I am unable to use Service Hooks to enforce Jenkins Builds in VSTS Pull-Requests.

        Attachments

          Activity

          Hide
          fbaeuerle Florian Bäuerle added a comment -

          The fix would be as easy as changing one line of code in JenkinsEventNotifier.java:98, but I am not sure if this would break other peoples setup.

          Show
          fbaeuerle Florian Bäuerle added a comment - The fix would be as easy as changing one line of code in JenkinsEventNotifier.java:98, but I am not sure if this would break other peoples setup.
          Hide
          fbaeuerle Florian Bäuerle added a comment -

          This was fixed in PR#200

          Show
          fbaeuerle Florian Bäuerle added a comment - This was fixed in PR#200

            People

            • Assignee:
              fbaeuerle Florian Bäuerle
              Reporter:
              fbaeuerle Florian Bäuerle
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: