Open sylwek845 opened 3 years ago
does it work for you via curl? is there anything in the logs?
I have a similar problem. When a declarative pipeline to send file to a channel I can't see the file. I have upload several diferent files and nothing, but if I use threadId, I can upload a file and it have 140Mbytes! I suspect that the problem is with channel name that have special chars but i can use slackSend method without any problem.
This works:
slackUploadFile channel: slackResponse.threadId, credentialId: 'jenkins_contmatic_gestaosst', filePath: 'report.zip'
This not:
slackUploadFile channel: '#report-automação', credentialId: 'jenkins_contmatic_gestaosst', filePath: 'report.zip'
Today I need to send a report file to other workspace and I have the same problem again. I need to send the file into conversation again because into thread it`s not working. This is not occuring in free style project, only on pipeline. Maybe slackUploadFile need a parameter to define the workspace? Because just slackSend have this parameter.
Your checklist for this issue
[x] Jenkins version - Jenkins 2.263.1
[x] Plugin version - 2.45
[x] OS - Slave: macOS - Master: Linux
Description
I'm having trouble with uploading files into slack. Seems to be working just fine when the file size is around 20Mb, but if I try around 50mb it says that it was successful, but no file was uploaded. Our internet is slow when it comes to uploading, is there a timeout perhaps?