I am using bash script to run the Protractor automation script. I am getting results in the text file. Now I want to upload that file on the hipchat room.
I am able to get the the content of the file but I want to upload actual text file on the hipchat. Please help!
Here is my curl command which displays file content on the hipchat room:
curl -i -X POST -H 'Content-Type: text/plain'-F "file=@target/screenshots/AutomationReport.txt" https://dev.hipchat.com/v2/room/3157124/notification?auth_token