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

Jabber bot status doesn't correctly link to projects with spaces in the name

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • jabber-plugin
    • None
    • Platform: All, OS: All

    Description

      Jabber plugin ver. 0.4-SNAPSHOT

      This may be my jabber client (Spark) doing the linking when it sees a URL, but I
      think we could put the '%20' in for spaces to help create a usable link, in any
      case.

      Example result from '!status' bot command (notice the space in the project names):

      (1:18 PM) hudson: Status of all projects:
      example local: last build: 7: SUCCESS: http://localhost:8080/job/example local/7/
      gestalt-example-core freestyle: last build: 5: SUCCESS:
      http://localhost:8080/job/gestalt-example-core freestyle/5/
      sto: last build: 5: SUCCESS: http://localhost:8080/job/sto/5/

      Jeff

      Attachments

        Activity

          tblack tblack created issue -
          tblack tblack added a comment -

          Created an attachment (id=103)
          proposed patch to StatusCommand.java

          tblack tblack added a comment - Created an attachment (id=103) proposed patch to StatusCommand.java

          Assigning to the jabber component.

          kohsuke Kohsuke Kawaguchi added a comment - Assigning to the jabber component.
          dwdyer dwdyer added a comment -

          This is also a problem in the IMPublisher class. Changed both to use the
          encode method of the Util class to escape the spaces. Fixed in SVN revision
          8938 for release 0.5 of the Jabber plugin.

          dwdyer dwdyer added a comment - This is also a problem in the IMPublisher class. Changed both to use the encode method of the Util class to escape the spaces. Fixed in SVN revision 8938 for release 0.5 of the Jabber plugin.
          dwdyer dwdyer made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          abayer Andrew Bayer made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 130982 ] JNJira + In-Review [ 200275 ]

          People

            Unassigned Unassigned
            tblack tblack
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: