#!/bin/bash # Set the ROOM_ID & AUTH_TOKEN variables below. # Further instructions at https://www.hipchat.com/docs/apiv2/auth ROOM_ID=drone-ci AUTH_TOKEN=FBFCWH8vPqkwzFhrR1nTAHWG97p1vaQvU9PFQhZO MESSAGE="Test Fernando" curl -H "Content-Type: multipart/related; boundary=boundary123456" -F "file=@tests/comp/2017-7-21_03:33_99d99bc0abebde6d3875e5f418faca19463b6ebd/01_login/comp1log.png" \ -X POST \ https://api.hipchat.com/v2/room/$ROOM_ID/share/file?auth_token=$AUTH_TOKEN