Skip to content

Instantly share code, notes, and snippets.

@travisbot
Last active December 7, 2022 09:52
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 travisbot/4e317d6e71be6d0278be46bb751b2f78 to your computer and use it in GitHub Desktop.
Save travisbot/4e317d6e71be6d0278be46bb751b2f78 to your computer and use it in GitHub Desktop.
Travis CI webhook payload
{
"id": 258588104,
"number": "354",
"config": {
"language": "ruby",
"os": [
"linux"
],
"dist": "bionic",
"branches": {
"only": [
"master"
]
},
"jobs": {
"include": [
{
"name": "build site",
"language": "python",
"python": "3.8.3",
"env": [
{
"global": "PATH=$HOME/.local/user/bin:$PATH"
}
],
"cache": {
"pip": true,
"directories": [
"vendor/bundle",
"node_modules",
"$TRAVIS_BUILD_DIR/tmp/.htmlproofer"
]
},
"addons": {
"apt": {
"packages": [
"libxml2-utils"
]
}
},
"install": [
"rvm use 2.6.3 --install",
"bundle install --deployment",
"sudo apt-get install libcurl4-openssl-dev"
],
"script": [
"bundle exec rake test",
"xmllint --noout _site/feed.build-env-updates.xml"
]
},
{
"name": "update dpl v2 docs",
"if": "type = cron || commit_message =~ /ci:dpl/",
"language": "shell",
"cache": false,
"install": [
"rvm use 2.5.3"
],
"script": [
"git clone https://github.com/travis-ci/dpl.git",
"cd dpl",
"gem build dpl.gemspec",
"gem install dpl-*.gem",
"cd ..",
"rm -rf dpl",
"bin/dpl"
],
"deploy": [
{
"pull_request": true,
"provider": "git_push",
"token": {
"secure": "YHuTjIGKpG0A8QJ4kmdLfOW1n+62uLakXv0KjCzWExl22qLSn2frip3j8JsaeMfndsmNZBUfGoONVHvDS+PHnkbRMYf21SjgctpVfHRYZQ3pulexOViEQ6azRgCBWuPO8A+vAyxvjlV4e3UDGnt2x/0X/Tdg9iVf/zzBGjM0YX0="
},
"branch": "auto-dpl-v2-update-docs",
"edge": {
"branch": "master"
}
}
]
}
]
},
"notifications": {
"slack": [
{
"rooms": [
{
"secure": "LPNgf0Ra6Vu6I7XuK7tcnyFWJg+becx1RfAR35feWK81sru8TyuldQIt7uAKMA8tqFTP8j1Af7iz7UDokbCCfDNCX1GxdAWgXs+UKpwhO89nsidHAsCkW2lWSEM0E3xtOJDyNFoauiHxBKGKUsApJTnf39H+EW9tWrqN5W2sZg8="
}
],
"on_success": "never"
}
],
"webhooks": [
{
"urls": [
"https://docs.travis-ci.com/update_webhook_payload_doc"
]
}
]
}
},
"type": "push",
"state": "passed",
"status": 0,
"result": 0,
"status_message": "Passed",
"result_message": "Passed",
"started_at": "2022-12-07T09:49:20Z",
"finished_at": "2022-12-07T09:52:36Z",
"duration": 196,
"build_url": "https://app.travis-ci.com/artemiy77777/docs-travis-ci-com/builds/258588104",
"commit_id": 815167841,
"commit": "09f04aa5797882d0ef38e8ba7a7c7c8cc06abf8c",
"base_commit": null,
"head_commit": null,
"branch": "master",
"message": "Merge pull request #3234 from lysannep/updates-sauceconnect-docs\n\nUpdates docs links and replaces tunnel-identifier",
"compare_url": "https://github.com/artemiy77777/docs-travis-ci-com/compare/aaaac0f08cb2...09f04aa57978",
"committed_at": "2022-12-06T22:55:45Z",
"author_name": "nrios14",
"author_email": "44674816+nrios14@users.noreply.github.com",
"committer_name": "GitHub",
"committer_email": "noreply@github.com",
"pull_request": false,
"pull_request_number": null,
"pull_request_title": null,
"tag": null,
"repository": {
"id": 14385792,
"name": "docs-travis-ci-com",
"owner_name": "artemiy77777",
"url": null
},
"matrix": [
{
"id": 590499757,
"repository_id": 14385792,
"parent_id": 258588104,
"number": "354.1",
"state": "passed",
"config": {
"os": "linux",
"language": "python",
"dist": "bionic",
"branches": {
"only": [
"master"
]
},
"name": "build site",
"python": "3.8.3",
"env": [
],
"cache": {
"pip": true,
"directories": [
"vendor/bundle",
"node_modules",
"$TRAVIS_BUILD_DIR/tmp/.htmlproofer"
]
},
"addons": {
"apt": {
"packages": [
"libxml2-utils"
]
}
},
"install": [
"rvm use 2.6.3 --install",
"bundle install --deployment",
"sudo apt-get install libcurl4-openssl-dev"
],
"script": [
"bundle exec rake test",
"xmllint --noout _site/feed.build-env-updates.xml"
]
},
"status": 0,
"result": 0,
"commit": "09f04aa5797882d0ef38e8ba7a7c7c8cc06abf8c",
"branch": "master",
"message": "Merge pull request #3234 from lysannep/updates-sauceconnect-docs\n\nUpdates docs links and replaces tunnel-identifier",
"compare_url": "https://github.com/artemiy77777/docs-travis-ci-com/compare/aaaac0f08cb2...09f04aa57978",
"started_at": "2022-12-07T09:49:20Z",
"finished_at": "2022-12-07T09:52:36Z",
"committed_at": "2022-12-06T22:55:45Z",
"author_name": "nrios14",
"author_email": "44674816+nrios14@users.noreply.github.com",
"committer_name": "GitHub",
"committer_email": "noreply@github.com",
"allow_failure": null
}
]
}
@webknjaz
Copy link

@bogdanap you might want to sanitize emails to protect it from crawlers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment