API call to start a build job in debug mode

You can use any REST client to make a call to the Travis API as long as you have a valid access token.

Here is a sample REST call to the debug endpoint for the 40110174 job ID:

Notice that in this screenshot, we added the Authorization HTTP header and used the Travis CLI to print out our access token by using Bash string interpolation like this:

Authorization: token $(travis token)

Also notice that we are using the public Travis endpoint of https://api.travis-ci.org.

Get Hands-On Continuous Integration and Delivery now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.