Skip to content

Instantly share code, notes, and snippets.

View jholovacs's full-sized avatar
🤔
cogitating

Jeremy Holovacs jholovacs

🤔
cogitating
  • Ft Lauderdale, FL
View GitHub Profile
@justincampbell
justincampbell / after.sh
Created March 1, 2013 17:45
Jenkins + GitHub Commit Status API
if [[ $BUILD_STATUS == "success" ]]
then
export STATUS="success"
else
export STATUS="failure"
fi
curl "https://api.github.com/repos/justincampbell/my_repo/statuses/$GIT_COMMIT?access_token=abc123" \
-H "Content-Type: application/json" \
-X POST \