slackUploadFile can`t send files to a channel with special characters

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: slack-plugin
    • None
    • Environment:
      Jenkins 2.291
      slack-plugin 2.47

      Running bellow command i can`t see any file on slack channel

      slackUploadFile(channel: "report-automação", credentialId: 'XXXXXXXXX', filePath: 'resultado.txt', initialComment: 'Resultado')

      slackSend command is running without any problem. The same command on other channel is running too.

      I didn`t receive any kind of error when I run this command on Jenkins, just can`t see the file on channel.

      My suspect is that the command is not prepared for special characters on the name of channel because if i send special characters on initialComment parameter, these characters are wrong on slack, so, maybe channel parameter have the same problem. slackSend command don`t have these problems.

            Assignee:
            Tim Jacomb
            Reporter:
            Andre Crespo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: