I tried both cURL commands that was mentioned here in my jenkinsfile and below is the Jenkins console those commands were run
Then I got my binary file attached to the PR comment.
When I click that file I get the below error message
I doubt I am looking at the right place to read the attached file. Meanwhile I will ask my BB admin where these attached files get stored.
The attachment URL I am using in cURL is different from the one I click to view the attached file.
Just so you know, my BB server version is 7.8.1 and API version is 1.0