Created
May 25, 2016 13:57
-
-
Save PI-Victor/dbf15ba42928266ce280be2f195ae505 to your computer and use it in GitHub Desktop.
CURL the github webhook of openshift to start a build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -kvX POST -A "GitHub-Hookshot/github" -H "Content-Type:application/json" -H "X-Github-Event:push" -d @/data/src/github.com/openshift/origin/pkg/build/webhook/github/fixtures/pushevent.json https://10.0.2.15:8443/oapi/v1/namespaces/demo/buildconfigs/centos/webhooks/f-A_pRLVKY5Y6ZfprEyf/github |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment