Skip to content

Instantly share code, notes, and snippets.

@brookslyrette
Created November 14, 2015 16:03
Show Gist options
  • Save brookslyrette/c22bc44d5c558310f3cb to your computer and use it in GitHub Desktop.
Save brookslyrette/c22bc44d5c558310f3cb to your computer and use it in GitHub Desktop.
curl -H "Authorization: token <your_githib_api_token>" --request POST --data '{"state": "pending", "context": "build", "description": "Build is running", "target_url": "${bamboo.buildResultsUrl}"}' https://api.github.com/repos/<username>/<repo_name>/statuses/${bamboo.repository.revision.number} > /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment