hip.sh 483 B

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