Skip to content

Instantly share code, notes, and snippets.

@matejc
Created April 18, 2020 18:23
Show Gist options
  • Save matejc/bb6757dfc2e4938fcb3e25e34e5c20a2 to your computer and use it in GitHub Desktop.
Save matejc/bb6757dfc2e4938fcb3e25e34e5c20a2 to your computer and use it in GitHub Desktop.
Usage: $ trigger_debug_build.sh <job_id> <travis_token>
#!/usr/bin/env bash
curl -s -X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Travis-API-Version: 3" \
-H "Authorization: token $2" \
-d "{\"quiet\": true}" \
https://api.travis-ci.org/job/$1/debug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment