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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • slack-plugin
    • None
    • 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.

            timja Tim Jacomb
            acrespo Andre Crespo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: