Skip to content

Instantly share code, notes, and snippets.

@johnallen3d
Last active November 7, 2020 16:33
Show Gist options
  • Save johnallen3d/bae281b2256b1e9921b3 to your computer and use it in GitHub Desktop.
Save johnallen3d/bae281b2256b1e9921b3 to your computer and use it in GitHub Desktop.
Travis CI example webhook payloads
{
"id": 25418135,
"repository": {
"id": 2372423,
"name": "travis-ci-webhook-receiver",
"owner_name": "connexio-labs",
"url": "https://github.com/connexio-labs/travis-ci-webhook-receiver"
},
"number": "6",
"config": {
"script": "bundle install; bundle exec rspec spec",
"language": "ruby",
"rvm": [
"2.1.0"
],
"notifications": {
"webhooks": {
"urls": [
"http://travis-harness.ngrok.com/"
],
"on_success": "always",
"on_failure": "always",
"on_start": true
}
},
"before_install": [
"gem install bundler"
],
"cache": "bundler",
"env": [
"global="
],
".result": "configured",
"os": "linux"
},
"status": 1,
"result": 1,
"status_message": "Broken",
"result_message": "Broken",
"started_at": "2014-05-17T20:15:40Z",
"finished_at": "2014-05-17T20:17:03Z",
"duration": 83,
"build_url": "https://travis-ci.org/connexio-labs/travis-ci-webhook-receiver/builds/25418135",
"commit": "116112a0c0a3c1fa896e0087b041ab1bd91ff625",
"branch": "master",
"message": "Force travis fail for example payload",
"compare_url": "https://github.com/connexio-labs/travis-ci-webhook-receiver/compare/7ccdb5ee7b1a...116112a0c0a3",
"committed_at": "2014-05-17T20:14:47Z",
"author_name": "John Allen",
"author_email": "[email protected]",
"committer_name": "John Allen",
"committer_email": "[email protected]",
"matrix": [
{
"id": 25418136,
"repository_id": 2372423,
"parent_id": 25418135,
"number": "6.1",
"state": "finished",
"config": {
"script": "bundle install; bundle exec rspec spec",
"language": "ruby",
"rvm": "2.1.0",
"notifications": {
"webhooks": {
"urls": [
"http://travis-harness.ngrok.com/"
],
"on_success": "always",
"on_failure": "always",
"on_start": true
}
},
"before_install": [
"gem install bundler"
],
"cache": "bundler",
"env": "global=",
".result": "configured"
},
"status": null,
"result": null,
"commit": "116112a0c0a3c1fa896e0087b041ab1bd91ff625",
"branch": "master",
"message": "Force travis fail for example payload",
"compare_url": "https://github.com/connexio-labs/travis-ci-webhook-receiver/compare/7ccdb5ee7b1a...116112a0c0a3",
"committed_at": "2014-05-17T20:14:47Z",
"author_name": "John Allen",
"author_email": "[email protected]",
"committer_name": "John Allen",
"committer_email": "[email protected]",
"finished_at": "2014-05-17T20:17:03Z"
}
],
"type": "push"
}
{
"id": 25415786,
"repository": {
"id": 2372423,
"name": "travis-ci-webhook-receiver",
"owner_name": "connexio-labs",
"url": "https://github.com/connexio-labs/travis-ci-webhook-receiver"
},
"number": "4",
"config": {
"script": "bundle install; bundle exec rspec spec",
"language": "ruby",
"rvm": [
"2.1.0"
],
"notifications": {
"webhooks": {
"urls": [
"http://travis-harness.ngrok.com/"
],
"on_success": "always",
"on_failure": "always",
"on_start": true
}
},
"before_install": [
"gem install bundler"
],
"cache": "bundler",
"env": [
"global="
],
".result": "configured",
"os": "linux"
},
"status": 0,
"result": 0,
"status_message": "Fixed",
"result_message": "Fixed",
"started_at": "2014-05-17T19:32:57Z",
"finished_at": "2014-05-17T19:34:10Z",
"duration": 73,
"build_url": "https://travis-ci.org/connexio-labs/travis-ci-webhook-receiver/builds/25415786",
"commit": "fd4cb21f598801dd3138cd9182d6619ce39f56e6",
"branch": "master",
"message": "Fix script for travis",
"compare_url": "https://github.com/connexio-labs/travis-ci-webhook-receiver/compare/c2722b3c21ff...fd4cb21f5988",
"committed_at": "2014-05-17T19:27:09Z",
"author_name": "John Allen",
"author_email": "[email protected]",
"committer_name": "John Allen",
"committer_email": "[email protected]",
"matrix": [
{
"id": 25415787,
"repository_id": 2372423,
"parent_id": 25415786,
"number": "4.1",
"state": "finished",
"config": {
"script": "bundle install; bundle exec rspec spec",
"language": "ruby",
"rvm": "2.1.0",
"notifications": {
"webhooks": {
"urls": [
"http://travis-harness.ngrok.com/"
],
"on_success": "always",
"on_failure": "always",
"on_start": true
}
},
"before_install": [
"gem install bundler"
],
"cache": "bundler",
"env": "global=",
".result": "configured"
},
"status": null,
"result": null,
"commit": "fd4cb21f598801dd3138cd9182d6619ce39f56e6",
"branch": "master",
"message": "Fix script for travis",
"compare_url": "https://github.com/connexio-labs/travis-ci-webhook-receiver/compare/c2722b3c21ff...fd4cb21f5988",
"committed_at": "2014-05-17T19:27:09Z",
"author_name": "John Allen",
"author_email": "[email protected]",
"committer_name": "John Allen",
"committer_email": "[email protected]",
"finished_at": "2014-05-17T19:34:10Z"
}
],
"type": "push"
}
{
"id": 25415786,
"repository": {
"id": 2372423,
"name": "travis-ci-webhook-receiver",
"owner_name": "connexio-labs",
"url": "https://github.com/connexio-labs/travis-ci-webhook-receiver"
},
"number": "4",
"config": {
"script": "bundle install; bundle exec rspec spec",
"language": "ruby",
"rvm": [
"2.1.0"
],
"notifications": {
"webhooks": {
"urls": [
"http://travis-harness.ngrok.com/"
],
"on_success": "always",
"on_failure": "always",
"on_start": true
}
},
"before_install": [
"gem install bundler"
],
"cache": "bundler",
"env": [
"global="
],
".result": "configured",
"os": "linux"
},
"status": 1,
"result": 1,
"status_message": "Pending",
"result_message": "Pending",
"started_at": "2014-05-17T19:32:57Z",
"finished_at": null,
"duration": null,
"build_url": "https://travis-ci.org/connexio-labs/travis-ci-webhook-receiver/builds/25415786",
"commit": "fd4cb21f598801dd3138cd9182d6619ce39f56e6",
"branch": "master",
"message": "Fix script for travis",
"compare_url": "https://github.com/connexio-labs/travis-ci-webhook-receiver/compare/c2722b3c21ff...fd4cb21f5988",
"committed_at": "2014-05-17T19:27:09Z",
"author_name": "John Allen",
"author_email": "[email protected]",
"committer_name": "John Allen",
"committer_email": "[email protected]",
"matrix": [
{
"id": 25415787,
"repository_id": 2372423,
"parent_id": 25415786,
"number": "4.1",
"state": "started",
"config": {
"script": "bundle install; bundle exec rspec spec",
"language": "ruby",
"rvm": "2.1.0",
"notifications": {
"webhooks": {
"urls": [
"http://travis-harness.ngrok.com/"
],
"on_success": "always",
"on_failure": "always",
"on_start": true
}
},
"before_install": [
"gem install bundler"
],
"cache": "bundler",
"env": "global=",
".result": "configured"
},
"status": null,
"result": null,
"commit": "fd4cb21f598801dd3138cd9182d6619ce39f56e6",
"branch": "master",
"message": "Fix script for travis",
"compare_url": "https://github.com/connexio-labs/travis-ci-webhook-receiver/compare/c2722b3c21ff...fd4cb21f5988",
"committed_at": "2014-05-17T19:27:09Z",
"author_name": "John Allen",
"author_email": "[email protected]",
"committer_name": "John Allen",
"committer_email": "[email protected]",
"started_at": "2014-05-17T19:32:57Z"
}
],
"type": "push"
}
{
"id": 25415596,
"repository": {
"id": 2372423,
"name": "travis-ci-webhook-receiver",
"owner_name": "connexio-labs",
"url": "https://github.com/connexio-labs/travis-ci-webhook-receiver"
},
"number": "3",
"config": {
"script": "bundle install; bundle exec rspec/spec",
"language": "ruby",
"rvm": [
"2.1.0"
],
"notifications": {
"webhooks": {
"urls": [
"http://travis-harness.ngrok.com/"
],
"on_success": "always",
"on_failure": "always",
"on_start": true
}
},
"before_install": [
"gem install bundler"
],
"cache": "bundler",
"env": [
"global="
],
".result": "configured",
"os": "linux"
},
"status": 1,
"result": 1,
"status_message": "Still Failing",
"result_message": "Still Failing",
"started_at": "2014-05-17T19:22:54Z",
"finished_at": "2014-05-17T19:24:05Z",
"duration": 71,
"build_url": "https://travis-ci.org/connexio-labs/travis-ci-webhook-receiver/builds/25415596",
"commit": "c2722b3c21ff74ac0709a406c4c4da35da2a0f16",
"branch": "master",
"message": "Bundle before running specs on travis",
"compare_url": "https://github.com/connexio-labs/travis-ci-webhook-receiver/compare/3da4f6ce8e92...c2722b3c21ff",
"committed_at": "2014-05-17T19:22:06Z",
"author_name": "John Allen",
"author_email": "[email protected]",
"committer_name": "John Allen",
"committer_email": "[email protected]",
"matrix": [
{
"id": 25415597,
"repository_id": 2372423,
"parent_id": 25415596,
"number": "3.1",
"state": "finished",
"config": {
"script": "bundle install; bundle exec rspec/spec",
"language": "ruby",
"rvm": "2.1.0",
"notifications": {
"webhooks": {
"urls": [
"http://travis-harness.ngrok.com/"
],
"on_success": "always",
"on_failure": "always",
"on_start": true
}
},
"before_install": [
"gem install bundler"
],
"cache": "bundler",
"env": "global=",
".result": "configured"
},
"status": null,
"result": null,
"commit": "c2722b3c21ff74ac0709a406c4c4da35da2a0f16",
"branch": "master",
"message": "Bundle before running specs on travis",
"compare_url": "https://github.com/connexio-labs/travis-ci-webhook-receiver/compare/3da4f6ce8e92...c2722b3c21ff",
"committed_at": "2014-05-17T19:22:06Z",
"author_name": "John Allen",
"author_email": "[email protected]",
"committer_name": "John Allen",
"committer_email": "[email protected]",
"finished_at": "2014-05-17T19:24:05Z"
}
],
"type": "push"
}
{
"id": 25416510,
"repository": {
"id": 2372423,
"name": "travis-ci-webhook-receiver",
"owner_name": "connexio-labs",
"url": "https://github.com/connexio-labs/travis-ci-webhook-receiver"
},
"number": "5",
"config": {
"script": "bundle install; bundle exec rspec spec",
"language": "ruby",
"rvm": [
"2.1.0"
],
"notifications": {
"webhooks": {
"urls": [
"http://travis-harness.ngrok.com/"
],
"on_success": "always",
"on_failure": "always",
"on_start": true
}
},
"before_install": [
"gem install bundler"
],
"cache": "bundler",
"env": [
"global="
],
".result": "configured",
"os": "linux"
},
"status": 0,
"result": 0,
"status_message": "Passed",
"result_message": "Passed",
"started_at": "2014-05-17T19:43:20Z",
"finished_at": "2014-05-17T19:44:29Z",
"duration": 69,
"build_url": "https://travis-ci.org/connexio-labs/travis-ci-webhook-receiver/builds/25416510",
"commit": "7ccdb5ee7b1a2594832587ace7c7f993064acf87",
"branch": "master",
"message": "Travis.yml cleanup",
"compare_url": "https://github.com/connexio-labs/travis-ci-webhook-receiver/compare/fd4cb21f5988...7ccdb5ee7b1a",
"committed_at": "2014-05-17T19:42:39Z",
"author_name": "John Allen",
"author_email": "[email protected]",
"committer_name": "John Allen",
"committer_email": "[email protected]",
"matrix": [
{
"id": 25416511,
"repository_id": 2372423,
"parent_id": 25416510,
"number": "5.1",
"state": "finished",
"config": {
"script": "bundle install; bundle exec rspec spec",
"language": "ruby",
"rvm": "2.1.0",
"notifications": {
"webhooks": {
"urls": [
"http://travis-harness.ngrok.com/"
],
"on_success": "always",
"on_failure": "always",
"on_start": true
}
},
"before_install": [
"gem install bundler"
],
"cache": "bundler",
"env": "global=",
".result": "configured"
},
"status": null,
"result": null,
"commit": "7ccdb5ee7b1a2594832587ace7c7f993064acf87",
"branch": "master",
"message": "Travis.yml cleanup",
"compare_url": "https://github.com/connexio-labs/travis-ci-webhook-receiver/compare/fd4cb21f5988...7ccdb5ee7b1a",
"committed_at": "2014-05-17T19:42:39Z",
"author_name": "John Allen",
"author_email": "[email protected]",
"committer_name": "John Allen",
"committer_email": "[email protected]",
"finished_at": "2014-05-17T19:44:29Z"
}
],
"type": "push"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment