Skip to content

Instantly share code, notes, and snippets.

@cintiadr
Created January 29, 2017 11:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cintiadr/0722625cedc4c79a4efe9ca3c74a41f6 to your computer and use it in GitHub Desktop.
Save cintiadr/0722625cedc4c79a4efe9ca3c74a41f6 to your computer and use it in GitHub Desktop.
Error callback
{
"request": {
"json": true,
"body": {
"state": "success",
"description": "aaaaaa\n",
"context": "Continuous delivery by dockerhub-webhook",
"target_url": "https:\/\/ci.openmrs.org"
},
"method": "post",
"uri": "https:\/\/registry.hub.docker.com\/u\/openmrs\/openmrs-reference-application-distro\/hook\/2f3aai2g2ad2h4gjgdee01jgci03de311\/"
},
"response": {
"statusCode": 400,
"body": "Update not allowed",
"headers": {
"server": "nginx\/1.6.2",
"date": "Sun, 29 Jan 2017 11:24:25 GMT",
"content-type": "application\/json",
"transfer-encoding": "chunked",
"connection": "close",
"x-frame-options": "SAMEORIGIN",
"strict-transport-security": "max-age=31536000"
},
"request": {
"uri": {
"protocol": "https:",
"slashes": true,
"auth": null,
"host": "registry.hub.docker.com",
"port": 443,
"hostname": "registry.hub.docker.com",
"hash": null,
"search": null,
"query": null,
"pathname": "\/u\/openmrs\/openmrs-reference-application-distro\/hook\/2f3aai2g2ad2h4gjgdee01jgci03de311\/",
"path": "\/u\/openmrs\/openmrs-reference-application-distro\/hook\/2f3aai2g2ad2h4gjgdee01jgci03de311\/",
"href": "https:\/\/registry.hub.docker.com\/u\/openmrs\/openmrs-reference-application-distro\/hook\/2f3aai2g2ad2h4gjgdee01jgci03de311\/"
},
"method": "post",
"headers": {
"accept": "application\/json",
"content-type": "application\/json",
"content-length": 135
}
}
},
"text": "Callback sent to https:\/\/registry.hub.docker.com\/u\/openmrs\/openmrs-reference-application-distro\/hook\/2f3aai2g2ad2h4gjgdee01jgci03de311\/"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment