initial import for Open Source 🎉
This commit is contained in:
parent
1898c361f3
commit
9c0dd3b722
2048 changed files with 218743 additions and 0 deletions
24
buildtrigger/test/triggerjson/bitbucket_commit.json
Normal file
24
buildtrigger/test/triggerjson/bitbucket_commit.json
Normal file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"files": [
|
||||
{
|
||||
"type": "added",
|
||||
"file": "AnotherFile.txt"
|
||||
},
|
||||
{
|
||||
"type": "modified",
|
||||
"file": "Readme"
|
||||
}
|
||||
],
|
||||
"raw_author": "Mark Anthony <manthony@example.com>",
|
||||
"utctimestamp": "2012-07-23 22:26:36+00:00",
|
||||
"author": "Mark Anthony",
|
||||
"timestamp": "2012-07-24 00:26:36",
|
||||
"node": "abdeaf1b2b4a6b9ddf742c1e1754236380435a62",
|
||||
"parents": [
|
||||
"86432202a2d5"
|
||||
],
|
||||
"branch": "master",
|
||||
"message": "making some changes\n",
|
||||
"revision": null,
|
||||
"size": -1
|
||||
}
|
|
@ -0,0 +1,199 @@
|
|||
{
|
||||
"actor": {
|
||||
"account_id": "SomeCoolLabs_CodeShip",
|
||||
"links": {
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/users/SomeCoolLabs_CodeShip"
|
||||
},
|
||||
"avatar": {
|
||||
"href": "https://bitbucket.org/account/SomeCoolLabs_CodeShip/avatar/32/"
|
||||
}
|
||||
},
|
||||
"type": "user",
|
||||
"display_name": "CodeShip Tagging"
|
||||
},
|
||||
"repository": {
|
||||
"full_name": "somecoollabs/svc-identity",
|
||||
"name": "svc-identity",
|
||||
"scm": "git",
|
||||
"type": "repository",
|
||||
"links": {
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/somecoollabs/svc-identity"
|
||||
},
|
||||
"avatar": {
|
||||
"href": "https://bitbucket.org/somecoollabs/svc-identity/avatar/16/"
|
||||
}
|
||||
},
|
||||
"is_private": true,
|
||||
"owner": {
|
||||
"account_id": "somecoollabs",
|
||||
"links": {
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/teams/somecoollabs"
|
||||
},
|
||||
"avatar": {
|
||||
"href": "https://bitbucket.org/account/somecoollabs/avatar/32/"
|
||||
}
|
||||
},
|
||||
"type": "team",
|
||||
"display_name": "Some Cool Labs"
|
||||
}
|
||||
},
|
||||
"push": {
|
||||
"changes": [
|
||||
{
|
||||
"commits": [
|
||||
{
|
||||
"hash": "a0ec139843b2bb281ab21a433266ddc498e605dc",
|
||||
"links": {
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/somecoollabs/svc-identity/commit/a0ec139843b2bb281ab21a433266ddc498e605dc"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://bitbucket.org/somecoollabs/svc-identity/commits/a0ec139843b2bb281ab21a433266ddc498e605dc"
|
||||
}
|
||||
},
|
||||
"author": {
|
||||
"raw": "scripts/autotag_version.py <utilitybelt@somecoollabs.com>"
|
||||
},
|
||||
"type": "commit",
|
||||
"message": "Update version.py to 0.1.2 [skip ci]\n\n(by utilitybelt/scripts/autotag_version.py)\n"
|
||||
}
|
||||
],
|
||||
"created": false,
|
||||
"forced": false,
|
||||
"old": {
|
||||
"target": {
|
||||
"parents": [
|
||||
{
|
||||
"hash": "bd749165b0c50c65c15fc4df526b8e9df26eff10",
|
||||
"links": {
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/somecoollabs/svc-identity/commit/bd749165b0c50c65c15fc4df526b8e9df26eff10"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://bitbucket.org/somecoollabs/svc-identity/commits/bd749165b0c50c65c15fc4df526b8e9df26eff10"
|
||||
}
|
||||
},
|
||||
"type": "commit"
|
||||
},
|
||||
{
|
||||
"hash": "910b5624b74190dfaa51938d851563a4c5254926",
|
||||
"links": {
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/somecoollabs/svc-identity/commit/910b5624b74190dfaa51938d851563a4c5254926"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://bitbucket.org/somecoollabs/svc-identity/commits/910b5624b74190dfaa51938d851563a4c5254926"
|
||||
}
|
||||
},
|
||||
"type": "commit"
|
||||
}
|
||||
],
|
||||
"date": "2015-09-25T00:54:41+00:00",
|
||||
"type": "commit",
|
||||
"message": "Merged in create-update-user (pull request #3)\n\nCreate + update identity\n",
|
||||
"hash": "263736ecc250113fad56a93f83b712093554ad42",
|
||||
"links": {
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/somecoollabs/svc-identity/commit/263736ecc250113fad56a93f83b712093554ad42"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://bitbucket.org/somecoollabs/svc-identity/commits/263736ecc250113fad56a93f83b712093554ad42"
|
||||
}
|
||||
},
|
||||
"author": {
|
||||
"raw": "John Smith <j@smith.com>",
|
||||
"user": {
|
||||
"account_id": "jsmith",
|
||||
"links": {
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/users/jsmith"
|
||||
},
|
||||
"avatar": {
|
||||
"href": "https://bitbucket.org/account/jsmith/avatar/32/"
|
||||
}
|
||||
},
|
||||
"type": "user",
|
||||
"display_name": "John Smith"
|
||||
}
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/somecoollabs/svc-identity/refs/branches/master"
|
||||
},
|
||||
"commits": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/somecoollabs/svc-identity/commits/master"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://bitbucket.org/somecoollabs/svc-identity/branch/master"
|
||||
}
|
||||
},
|
||||
"name": "master",
|
||||
"type": "branch"
|
||||
},
|
||||
"links": {
|
||||
"diff": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/somecoollabs/svc-identity/diff/a0ec139843b2bb281ab21a433266ddc498e605dc..263736ecc250113fad56a93f83b712093554ad42"
|
||||
},
|
||||
"commits": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/somecoollabs/svc-identity/commits?include=a0ec139843b2bb281ab21a433266ddc498e605dc&exclude=263736ecc250113fad56a93f83b712093554ad42"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://bitbucket.org/somecoollabs/svc-identity/branches/compare/a0ec139843b2bb281ab21a433266ddc498e605dc..263736ecc250113fad56a93f83b712093554ad42"
|
||||
}
|
||||
},
|
||||
"new": {
|
||||
"target": {
|
||||
"parents": [
|
||||
{
|
||||
"hash": "263736ecc250113fad56a93f83b712093554ad42",
|
||||
"links": {
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/somecoollabs/svc-identity/commit/263736ecc250113fad56a93f83b712093554ad42"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://bitbucket.org/somecoollabs/svc-identity/commits/263736ecc250113fad56a93f83b712093554ad42"
|
||||
}
|
||||
},
|
||||
"type": "commit"
|
||||
}
|
||||
],
|
||||
"date": "2015-09-25T00:55:08+00:00",
|
||||
"type": "commit",
|
||||
"message": "Update version.py to 0.1.2 [skip ci]\n\n(by utilitybelt/scripts/autotag_version.py)\n",
|
||||
"hash": "a0ec139843b2bb281ab21a433266ddc498e605dc",
|
||||
"links": {
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/somecoollabs/svc-identity/commit/a0ec139843b2bb281ab21a433266ddc498e605dc"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://bitbucket.org/somecoollabs/svc-identity/commits/a0ec139843b2bb281ab21a433266ddc498e605dc"
|
||||
}
|
||||
},
|
||||
"author": {
|
||||
"raw": "scripts/autotag_version.py <utilitybelt@somecoollabs.com>"
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/somecoollabs/svc-identity/refs/branches/master"
|
||||
},
|
||||
"commits": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/somecoollabs/svc-identity/commits/master"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://bitbucket.org/somecoollabs/svc-identity/branch/master"
|
||||
}
|
||||
},
|
||||
"name": "master",
|
||||
"type": "branch"
|
||||
},
|
||||
"closed": false,
|
||||
"truncated": false
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,108 @@
|
|||
{
|
||||
"push": {
|
||||
"changes": [
|
||||
{
|
||||
"links": {
|
||||
"commits": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/somecoollabs/svc-identity/commits?include=a0ec139843b2bb281ab21a433266ddc498e605dc"
|
||||
}
|
||||
},
|
||||
"closed": false,
|
||||
"new": {
|
||||
"target": {
|
||||
"date": "2015-09-25T00:55:08+00:00",
|
||||
"links": {
|
||||
"html": {
|
||||
"href": "https://bitbucket.org/somecoollabs/svc-identity/commits/a0ec139843b2bb281ab21a433266ddc498e605dc"
|
||||
},
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/somecoollabs/svc-identity/commit/a0ec139843b2bb281ab21a433266ddc498e605dc"
|
||||
}
|
||||
},
|
||||
"message": "Update version.py to 0.1.2 [skip ci]\n\n(by utilitybelt/scripts/autotag_version.py)\n",
|
||||
"type": "commit",
|
||||
"parents": [
|
||||
{
|
||||
"links": {
|
||||
"html": {
|
||||
"href": "https://bitbucket.org/somecoollabs/svc-identity/commits/263736ecc250113fad56a93f83b712093554ad42"
|
||||
},
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/somecoollabs/svc-identity/commit/263736ecc250113fad56a93f83b712093554ad42"
|
||||
}
|
||||
},
|
||||
"hash": "263736ecc250113fad56a93f83b712093554ad42",
|
||||
"type": "commit"
|
||||
}
|
||||
],
|
||||
"hash": "a0ec139843b2bb281ab21a433266ddc498e605dc",
|
||||
"author": {
|
||||
"raw": "scripts/autotag_version.py <utilitybelt@somecoollabs.com>"
|
||||
}
|
||||
},
|
||||
"name": "0.1.2",
|
||||
"links": {
|
||||
"html": {
|
||||
"href": "https://bitbucket.org/somecoollabs/svc-identity/commits/tag/0.1.2"
|
||||
},
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/somecoollabs/svc-identity/refs/tags/0.1.2"
|
||||
},
|
||||
"commits": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/somecoollabs/svc-identity/commits/0.1.2"
|
||||
}
|
||||
},
|
||||
"type": "tag"
|
||||
},
|
||||
"truncated": false,
|
||||
"created": true,
|
||||
"old": null,
|
||||
"forced": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"repository": {
|
||||
"name": "svc-identity",
|
||||
"links": {
|
||||
"html": {
|
||||
"href": "https://bitbucket.org/somecoollabs/svc-identity"
|
||||
},
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/somecoollabs/svc-identity"
|
||||
},
|
||||
"avatar": {
|
||||
"href": "https://bitbucket.org/somecoollabs/svc-identity/avatar/16/"
|
||||
}
|
||||
},
|
||||
"is_private": true,
|
||||
"type": "repository",
|
||||
"scm": "git",
|
||||
"owner": {
|
||||
"account_id": "somecoollabs",
|
||||
"links": {
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/teams/somecoollabs"
|
||||
},
|
||||
"avatar": {
|
||||
"href": "https://bitbucket.org/account/somecoollabs/avatar/32/"
|
||||
}
|
||||
},
|
||||
"display_name": "Some Cool Labs",
|
||||
"type": "team"
|
||||
},
|
||||
"full_name": "somecoollabs/svc-identity"
|
||||
},
|
||||
"actor": {
|
||||
"account_id": "SomeCoolLabs_CodeShip",
|
||||
"links": {
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/users/SomeCoolLabs_CodeShip"
|
||||
},
|
||||
"avatar": {
|
||||
"href": "https://bitbucket.org/account/SomeCoolLabs_CodeShip/avatar/32/"
|
||||
}
|
||||
},
|
||||
"display_name": "CodeShip Tagging",
|
||||
"type": "user"
|
||||
}
|
||||
}
|
68
buildtrigger/test/triggerjson/bitbucket_knownissue.json
Normal file
68
buildtrigger/test/triggerjson/bitbucket_knownissue.json
Normal file
|
@ -0,0 +1,68 @@
|
|||
{
|
||||
"push": {
|
||||
"changes": [
|
||||
|
||||
]
|
||||
},
|
||||
"actor": {
|
||||
"account_id": "jsmith",
|
||||
"display_name": "John Smith",
|
||||
"type": "user",
|
||||
"links": {
|
||||
"self": {
|
||||
"href": "https:\/\/api.bitbucket.org\/2.0\/users\/jsmith"
|
||||
},
|
||||
"avatar": {
|
||||
"href": "https:\/\/bitbucket.org\/account\/jsmith\/avatar\/32\/"
|
||||
}
|
||||
}
|
||||
},
|
||||
"repository": {
|
||||
"website": "",
|
||||
"scm": "git",
|
||||
"name": "slip-api",
|
||||
"links": {
|
||||
"self": {
|
||||
"href": "https:\/\/api.bitbucket.org\/2.0\/repositories\/goldcuff\/slip-api"
|
||||
},
|
||||
"html": {
|
||||
"href": "https:\/\/bitbucket.org\/goldcuff\/slip-api"
|
||||
},
|
||||
"avatar": {
|
||||
"href": "https:\/\/bitbucket.org\/goldcuff\/slip-api\/avatar\/32\/"
|
||||
}
|
||||
},
|
||||
"project": {
|
||||
"links": {
|
||||
"self": {
|
||||
"href": "https:\/\/api.bitbucket.org\/2.0\/teams\/goldcuff\/projects\/SLIP"
|
||||
},
|
||||
"html": {
|
||||
"href": "https:\/\/bitbucket.org\/account\/user\/goldcuff\/projects\/SLIP"
|
||||
},
|
||||
"avatar": {
|
||||
"href": "https:\/\/bitbucket.org\/account\/user\/goldcuff\/projects\/SLIP\/avatar\/32"
|
||||
}
|
||||
},
|
||||
"type": "project",
|
||||
"name": "SLIP",
|
||||
"key": "SLIP"
|
||||
},
|
||||
"full_name": "goldcuff\/slip-api",
|
||||
"owner": {
|
||||
"account_id": "goldcuff",
|
||||
"display_name": "Goldcuff",
|
||||
"type": "team",
|
||||
"links": {
|
||||
"self": {
|
||||
"href": "https:\/\/api.bitbucket.org\/2.0\/teams\/goldcuff"
|
||||
},
|
||||
"avatar": {
|
||||
"href": "https:\/\/bitbucket.org\/account\/goldcuff\/avatar\/32\/"
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": "repository",
|
||||
"is_private": true
|
||||
}
|
||||
}
|
219
buildtrigger/test/triggerjson/bitbucket_webhook.json
Normal file
219
buildtrigger/test/triggerjson/bitbucket_webhook.json
Normal file
|
@ -0,0 +1,219 @@
|
|||
{
|
||||
"push": {
|
||||
"changes": [
|
||||
{
|
||||
"links": {
|
||||
"commits": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/jsmith/another-repo/commits?include=af64ae7188685f8424040b4735ad12941b980d75&exclude=1784139225279a587e0afb151bed1f9ba3dd509e"
|
||||
},
|
||||
"diff": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/jsmith/another-repo/diff/af64ae7188685f8424040b4735ad12941b980d75..1784139225279a587e0afb151bed1f9ba3dd509e"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://bitbucket.org/jsmith/another-repo/branches/compare/af64ae7188685f8424040b4735ad12941b980d75..1784139225279a587e0afb151bed1f9ba3dd509e"
|
||||
}
|
||||
},
|
||||
"old": {
|
||||
"name": "master",
|
||||
"links": {
|
||||
"commits": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/jsmith/another-repo/commits/master"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://bitbucket.org/jsmith/another-repo/branch/master"
|
||||
},
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/jsmith/another-repo/refs/branches/master"
|
||||
}
|
||||
},
|
||||
"type": "branch",
|
||||
"target": {
|
||||
"links": {
|
||||
"html": {
|
||||
"href": "https://bitbucket.org/jsmith/another-repo/commits/1784139225279a587e0afb151bed1f9ba3dd509e"
|
||||
},
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/jsmith/another-repo/commit/1784139225279a587e0afb151bed1f9ba3dd509e"
|
||||
}
|
||||
},
|
||||
"author": {
|
||||
"user": {
|
||||
"links": {
|
||||
"avatar": {
|
||||
"href": "https://bitbucket.org/account/jsmith/avatar/32/"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://bitbucket.org/jsmith/"
|
||||
},
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/users/jsmith"
|
||||
}
|
||||
},
|
||||
"type": "user",
|
||||
"display_name": "John Smith",
|
||||
"account_id": "jsmith"
|
||||
},
|
||||
"raw": "John Smith <j@smith.com>"
|
||||
},
|
||||
"date": "2015-09-10T20:37:54+00:00",
|
||||
"parents": [
|
||||
{
|
||||
"links": {
|
||||
"html": {
|
||||
"href": "https://bitbucket.org/jsmith/another-repo/commits/5329daa0961ec968de9ef36f30024bfa0da73103"
|
||||
},
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/jsmith/another-repo/commit/5329daa0961ec968de9ef36f30024bfa0da73103"
|
||||
}
|
||||
},
|
||||
"type": "commit",
|
||||
"hash": "5329daa0961ec968de9ef36f30024bfa0da73103"
|
||||
}
|
||||
],
|
||||
"type": "commit",
|
||||
"message": "Dockerfile edited online with Bitbucket",
|
||||
"hash": "1784139225279a587e0afb151bed1f9ba3dd509e"
|
||||
}
|
||||
},
|
||||
"forced": false,
|
||||
"truncated": false,
|
||||
"commits": [
|
||||
{
|
||||
"author": {
|
||||
"user": {
|
||||
"links": {
|
||||
"avatar": {
|
||||
"href": "https://bitbucket.org/account/jsmith/avatar/32/"
|
||||
},
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/users/jsmith"
|
||||
}
|
||||
},
|
||||
"type": "user",
|
||||
"display_name": "John Smith",
|
||||
"account_id": "jsmith"
|
||||
},
|
||||
"raw": "John Smith <j@smith.com>"
|
||||
},
|
||||
"links": {
|
||||
"html": {
|
||||
"href": "https://bitbucket.org/jsmith/another-repo/commits/af64ae7188685f8424040b4735ad12941b980d75"
|
||||
},
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/jsmith/another-repo/commit/af64ae7188685f8424040b4735ad12941b980d75"
|
||||
}
|
||||
},
|
||||
"message": "Dockerfile edited online with Bitbucket",
|
||||
"type": "commit",
|
||||
"hash": "af64ae7188685f8424040b4735ad12941b980d75"
|
||||
}
|
||||
],
|
||||
"new": {
|
||||
"name": "master",
|
||||
"links": {
|
||||
"commits": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/jsmith/another-repo/commits/master"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://bitbucket.org/jsmith/another-repo/branch/master"
|
||||
},
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/jsmith/another-repo/refs/branches/master"
|
||||
}
|
||||
},
|
||||
"type": "branch",
|
||||
"target": {
|
||||
"links": {
|
||||
"html": {
|
||||
"href": "https://bitbucket.org/jsmith/another-repo/commits/af64ae7188685f8424040b4735ad12941b980d75"
|
||||
},
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/jsmith/another-repo/commit/af64ae7188685f8424040b4735ad12941b980d75"
|
||||
}
|
||||
},
|
||||
"author": {
|
||||
"user": {
|
||||
"links": {
|
||||
"avatar": {
|
||||
"href": "https://bitbucket.org/account/jsmith/avatar/32/"
|
||||
},
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/users/jsmith"
|
||||
}
|
||||
},
|
||||
"type": "user",
|
||||
"display_name": "John Smith",
|
||||
"account_id": "jsmith"
|
||||
},
|
||||
"raw": "John Smith <j@smith.com>"
|
||||
},
|
||||
"date": "2015-09-10T20:40:54+00:00",
|
||||
"parents": [
|
||||
{
|
||||
"links": {
|
||||
"html": {
|
||||
"href": "https://bitbucket.org/jsmith/another-repo/commits/1784139225279a587e0afb151bed1f9ba3dd509e"
|
||||
},
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/jsmith/another-repo/commit/1784139225279a587e0afb151bed1f9ba3dd509e"
|
||||
}
|
||||
},
|
||||
"type": "commit",
|
||||
"hash": "1784139225279a587e0afb151bed1f9ba3dd509e"
|
||||
}
|
||||
],
|
||||
"type": "commit",
|
||||
"message": "Dockerfile edited online with Bitbucket",
|
||||
"hash": "af64ae7188685f8424040b4735ad12941b980d75"
|
||||
}
|
||||
},
|
||||
"closed": false,
|
||||
"created": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"repository": {
|
||||
"links": {
|
||||
"avatar": {
|
||||
"href": "https://bitbucket.org/jsmith/another-repo/avatar/16/"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://bitbucket.org/jsmith/another-repo"
|
||||
},
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/repositories/jsmith/another-repo"
|
||||
}
|
||||
},
|
||||
"full_name": "jsmith/another-repo",
|
||||
"type": "repository",
|
||||
"is_private": true,
|
||||
"name": "Another Repo",
|
||||
"owner": {
|
||||
"links": {
|
||||
"avatar": {
|
||||
"href": "https://bitbucket.org/account/jsmith/avatar/32/"
|
||||
},
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/users/jsmith"
|
||||
}
|
||||
},
|
||||
"type": "user",
|
||||
"display_name": "John Smith",
|
||||
"account_id": "jsmith"
|
||||
},
|
||||
"scm": "git"
|
||||
},
|
||||
"actor": {
|
||||
"links": {
|
||||
"avatar": {
|
||||
"href": "https://bitbucket.org/account/jsmith/avatar/32/"
|
||||
},
|
||||
"self": {
|
||||
"href": "https://api.bitbucket.org/2.0/users/jsmith"
|
||||
}
|
||||
},
|
||||
"type": "user",
|
||||
"display_name": "John Smith",
|
||||
"account_id": "jsmith"
|
||||
}
|
||||
}
|
20
buildtrigger/test/triggerjson/custom_webhook.json
Normal file
20
buildtrigger/test/triggerjson/custom_webhook.json
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"commit": "1c002dd",
|
||||
"ref": "refs/heads/master",
|
||||
"default_branch": "master",
|
||||
"commit_info": {
|
||||
"url": "gitsoftware.com/repository/commits/1234567",
|
||||
"message": "initial commit",
|
||||
"date": "timestamp",
|
||||
"author": {
|
||||
"username": "user",
|
||||
"avatar_url": "gravatar.com/user.png",
|
||||
"url": "gitsoftware.com/users/user"
|
||||
},
|
||||
"committer": {
|
||||
"username": "user",
|
||||
"avatar_url": "gravatar.com/user.png",
|
||||
"url": "gitsoftware.com/users/user"
|
||||
}
|
||||
}
|
||||
}
|
153
buildtrigger/test/triggerjson/github_webhook.json
Normal file
153
buildtrigger/test/triggerjson/github_webhook.json
Normal file
|
@ -0,0 +1,153 @@
|
|||
{
|
||||
"ref": "refs/heads/master",
|
||||
"before": "9ea43cab474709d4a61afb7e3340de1ffc405b41",
|
||||
"after": "410f4cdf8ff09b87f245b13845e8497f90b90a4c",
|
||||
"created": false,
|
||||
"deleted": false,
|
||||
"forced": false,
|
||||
"base_ref": null,
|
||||
"compare": "https://github.com/jsmith/anothertest/compare/9ea43cab4747...410f4cdf8ff0",
|
||||
"commits": [
|
||||
{
|
||||
"id": "410f4cdf8ff09b87f245b13845e8497f90b90a4c",
|
||||
"distinct": true,
|
||||
"message": "Update Dockerfile",
|
||||
"timestamp": "2015-09-11T14:26:16-04:00",
|
||||
"url": "https://github.com/jsmith/anothertest/commit/410f4cdf8ff09b87f245b13845e8497f90b90a4c",
|
||||
"author": {
|
||||
"name": "jsmith",
|
||||
"email": "jsmith@users.noreply.github.com",
|
||||
"username": "jsmith"
|
||||
},
|
||||
"committer": {
|
||||
"name": "jsmith",
|
||||
"email": "jsmith@users.noreply.github.com",
|
||||
"username": "jsmith"
|
||||
},
|
||||
"added": [],
|
||||
"removed": [],
|
||||
"modified": [
|
||||
"Dockerfile"
|
||||
]
|
||||
}
|
||||
],
|
||||
"head_commit": {
|
||||
"id": "410f4cdf8ff09b87f245b13845e8497f90b90a4c",
|
||||
"distinct": true,
|
||||
"message": "Update Dockerfile",
|
||||
"timestamp": "2015-09-11T14:26:16-04:00",
|
||||
"url": "https://github.com/jsmith/anothertest/commit/410f4cdf8ff09b87f245b13845e8497f90b90a4c",
|
||||
"author": {
|
||||
"name": "jsmith",
|
||||
"email": "jsmith@users.noreply.github.com",
|
||||
"username": "jsmith"
|
||||
},
|
||||
"committer": {
|
||||
"name": "jsmith",
|
||||
"email": "jsmith@users.noreply.github.com",
|
||||
"username": "jsmith"
|
||||
},
|
||||
"added": [],
|
||||
"removed": [],
|
||||
"modified": [
|
||||
"Dockerfile"
|
||||
]
|
||||
},
|
||||
"repository": {
|
||||
"id": 1234567,
|
||||
"name": "anothertest",
|
||||
"full_name": "jsmith/anothertest",
|
||||
"owner": {
|
||||
"name": "jsmith",
|
||||
"email": "jsmith@users.noreply.github.com"
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/jsmith/anothertest",
|
||||
"description": "",
|
||||
"fork": false,
|
||||
"url": "https://github.com/jsmith/anothertest",
|
||||
"forks_url": "https://api.github.com/repos/jsmith/anothertest/forks",
|
||||
"keys_url": "https://api.github.com/repos/jsmith/anothertest/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/jsmith/anothertest/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/jsmith/anothertest/teams",
|
||||
"hooks_url": "https://api.github.com/repos/jsmith/anothertest/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/jsmith/anothertest/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/jsmith/anothertest/events",
|
||||
"assignees_url": "https://api.github.com/repos/jsmith/anothertest/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/jsmith/anothertest/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/jsmith/anothertest/tags",
|
||||
"blobs_url": "https://api.github.com/repos/jsmith/anothertest/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/jsmith/anothertest/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/jsmith/anothertest/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/jsmith/anothertest/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/jsmith/anothertest/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/jsmith/anothertest/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/jsmith/anothertest/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/jsmith/anothertest/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/jsmith/anothertest/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/jsmith/anothertest/subscription",
|
||||
"commits_url": "https://api.github.com/repos/jsmith/anothertest/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/jsmith/anothertest/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/jsmith/anothertest/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/jsmith/anothertest/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/jsmith/anothertest/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/jsmith/anothertest/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/jsmith/anothertest/merges",
|
||||
"archive_url": "https://api.github.com/repos/jsmith/anothertest/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/jsmith/anothertest/downloads",
|
||||
"issues_url": "https://api.github.com/repos/jsmith/anothertest/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/jsmith/anothertest/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/jsmith/anothertest/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/jsmith/anothertest/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/jsmith/anothertest/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/jsmith/anothertest/releases{/id}",
|
||||
"created_at": 1430426945,
|
||||
"updated_at": "2015-04-30T20:49:05Z",
|
||||
"pushed_at": 1441995976,
|
||||
"git_url": "git://github.com/jsmith/anothertest.git",
|
||||
"ssh_url": "git@github.com:jsmith/anothertest.git",
|
||||
"clone_url": "https://github.com/jsmith/anothertest.git",
|
||||
"svn_url": "https://github.com/jsmith/anothertest",
|
||||
"homepage": null,
|
||||
"size": 144,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 0,
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "master",
|
||||
"stargazers": 0,
|
||||
"master_branch": "master"
|
||||
},
|
||||
"pusher": {
|
||||
"name": "jsmith",
|
||||
"email": "jsmith@users.noreply.github.com"
|
||||
},
|
||||
"sender": {
|
||||
"login": "jsmith",
|
||||
"id": 1234567,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/1234567?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/jsmith",
|
||||
"html_url": "https://github.com/jsmith",
|
||||
"followers_url": "https://api.github.com/users/jsmith/followers",
|
||||
"following_url": "https://api.github.com/users/jsmith/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/jsmith/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/jsmith/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/jsmith/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/jsmith/orgs",
|
||||
"repos_url": "https://api.github.com/users/jsmith/repos",
|
||||
"events_url": "https://api.github.com/users/jsmith/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/jsmith/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
199
buildtrigger/test/triggerjson/github_webhook_deletedcommit.json
Normal file
199
buildtrigger/test/triggerjson/github_webhook_deletedcommit.json
Normal file
|
@ -0,0 +1,199 @@
|
|||
{
|
||||
"ref": "refs/heads/master",
|
||||
"before": "c7fa613b99d509c0d4fcbf946f0415b5f024150b",
|
||||
"after": "456806b662cb903a0febbaed8344f3ed42f27bab",
|
||||
"created": false,
|
||||
"deleted": false,
|
||||
"forced": false,
|
||||
"base_ref": null,
|
||||
"compare": "https://github.com/jsmith/somerepo/compare/c7fa613b99d5...456806b662cb",
|
||||
"commits": [
|
||||
{
|
||||
"id": "e00365b225ad7f454982e9198756cc1ab5dc4428",
|
||||
"distinct": true,
|
||||
"message": "Assign the exception to a variable to log it",
|
||||
"timestamp": "2015-12-08T18:03:48-05:00",
|
||||
"url": "https://github.com/jsmith/somerepo/commit/e00365b225ad7f454982e9198756cc1ab5dc4428",
|
||||
"author": {
|
||||
"name": "John Smith",
|
||||
"email": "j@smith.com",
|
||||
"username": "jsmith"
|
||||
},
|
||||
"committer": {
|
||||
"name": "John Smith",
|
||||
"email": "j@smith.com",
|
||||
"username": "jsmith"
|
||||
},
|
||||
"added": [
|
||||
|
||||
],
|
||||
"removed": [
|
||||
|
||||
],
|
||||
"modified": [
|
||||
"storage/basestorage.py"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "456806b662cb903a0febbaed8344f3ed42f27bab",
|
||||
"distinct": true,
|
||||
"message": "Merge pull request #1044 from jsmith/errerror\n\nAssign the exception to a variable to log it",
|
||||
"timestamp": "2015-12-08T18:07:03-05:00",
|
||||
"url": "https://github.com/jsmith/somerepo/commit/456806b662cb903a0febbaed8344f3ed42f27bab",
|
||||
"author": {
|
||||
"name": "John Smith",
|
||||
"email": "j@smith.com",
|
||||
"username": "jsmith"
|
||||
},
|
||||
"committer": {
|
||||
"name": "John Smith",
|
||||
"email": "j@smith.com",
|
||||
"username": "jsmith"
|
||||
},
|
||||
"added": [
|
||||
|
||||
],
|
||||
"removed": [
|
||||
|
||||
],
|
||||
"modified": [
|
||||
"storage/basestorage.py"
|
||||
]
|
||||
}
|
||||
],
|
||||
"head_commit": {
|
||||
"id": "456806b662cb903a0febbaed8344f3ed42f27bab",
|
||||
"distinct": true,
|
||||
"message": "Merge pull request #1044 from jsmith/errerror\n\nAssign the exception to a variable to log it",
|
||||
"timestamp": "2015-12-08T18:07:03-05:00",
|
||||
"url": "https://github.com/jsmith/somerepo/commit/456806b662cb903a0febbaed8344f3ed42f27bab",
|
||||
"author": {
|
||||
"name": "John Smith",
|
||||
"email": "j@smith.com",
|
||||
"username": "jsmith"
|
||||
},
|
||||
"committer": {
|
||||
"name": "John Smith",
|
||||
"email": "j@smith.com",
|
||||
"username": "jsmith"
|
||||
},
|
||||
"added": [
|
||||
|
||||
],
|
||||
"removed": [
|
||||
|
||||
],
|
||||
"modified": [
|
||||
"storage/basestorage.py"
|
||||
]
|
||||
},
|
||||
"repository": {
|
||||
"id": 12345678,
|
||||
"name": "somerepo",
|
||||
"full_name": "jsmith/somerepo",
|
||||
"owner": {
|
||||
"name": "jsmith",
|
||||
"email": null
|
||||
},
|
||||
"private": true,
|
||||
"html_url": "https://github.com/jsmith/somerepo",
|
||||
"description": "Some Cool Repo",
|
||||
"fork": false,
|
||||
"url": "https://github.com/jsmith/somerepo",
|
||||
"forks_url": "https://api.github.com/repos/jsmith/somerepo/forks",
|
||||
"keys_url": "https://api.github.com/repos/jsmith/somerepo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/jsmith/somerepo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/jsmith/somerepo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/jsmith/somerepo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/jsmith/somerepo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/jsmith/somerepo/events",
|
||||
"assignees_url": "https://api.github.com/repos/jsmith/somerepo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/jsmith/somerepo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/jsmith/somerepo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/jsmith/somerepo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/jsmith/somerepo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/jsmith/somerepo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/jsmith/somerepo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/jsmith/somerepo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/jsmith/somerepo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/jsmith/somerepo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/jsmith/somerepo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/jsmith/somerepo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/jsmith/somerepo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/jsmith/somerepo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/jsmith/somerepo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/jsmith/somerepo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/jsmith/somerepo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/jsmith/somerepo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/jsmith/somerepo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/jsmith/somerepo/merges",
|
||||
"archive_url": "https://api.github.com/repos/jsmith/somerepo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/jsmith/somerepo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/jsmith/somerepo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/jsmith/somerepo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/jsmith/somerepo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/jsmith/somerepo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/jsmith/somerepo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/jsmith/somerepo/releases{/id}",
|
||||
"created_at": 1415056063,
|
||||
"updated_at": "2015-11-12T05:16:51Z",
|
||||
"pushed_at": 1449616023,
|
||||
"git_url": "git://github.com/jsmith/somerepo.git",
|
||||
"ssh_url": "git@github.com:jsmith/somerepo.git",
|
||||
"clone_url": "https://github.com/jsmith/somerepo.git",
|
||||
"svn_url": "https://github.com/jsmith/somerepo",
|
||||
"homepage": "",
|
||||
"size": 183677,
|
||||
"stargazers_count": 3,
|
||||
"watchers_count": 3,
|
||||
"language": "Python",
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": false,
|
||||
"has_pages": false,
|
||||
"forks_count": 8,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 188,
|
||||
"forks": 8,
|
||||
"open_issues": 188,
|
||||
"watchers": 3,
|
||||
"default_branch": "master",
|
||||
"stargazers": 3,
|
||||
"master_branch": "master",
|
||||
"organization": "jsmith"
|
||||
},
|
||||
"pusher": {
|
||||
"name": "jsmith",
|
||||
"email": "j@smith.com"
|
||||
},
|
||||
"organization": {
|
||||
"login": "jsmith",
|
||||
"id": 9876543,
|
||||
"url": "https://api.github.com/orgs/jsmith",
|
||||
"repos_url": "https://api.github.com/orgs/jsmith/repos",
|
||||
"events_url": "https://api.github.com/orgs/jsmith/events",
|
||||
"members_url": "https://api.github.com/orgs/jsmith/members{/member}",
|
||||
"public_members_url": "https://api.github.com/orgs/jsmith/public_members{/member}",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/5504624?v=3",
|
||||
"description": null
|
||||
},
|
||||
"sender": {
|
||||
"login": "jsmith",
|
||||
"id": 1234567,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/000000?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/jsmith",
|
||||
"html_url": "https://github.com/jsmith",
|
||||
"followers_url": "https://api.github.com/users/jsmith/followers",
|
||||
"following_url": "https://api.github.com/users/jsmith/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/jsmith/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/jsmith/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/jsmith/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/jsmith/orgs",
|
||||
"repos_url": "https://api.github.com/users/jsmith/repos",
|
||||
"events_url": "https://api.github.com/users/jsmith/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/jsmith/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
126
buildtrigger/test/triggerjson/github_webhook_knownissue.json
Normal file
126
buildtrigger/test/triggerjson/github_webhook_knownissue.json
Normal file
|
@ -0,0 +1,126 @@
|
|||
{
|
||||
"ref": "refs/heads/1.2.6",
|
||||
"before": "76a309ed96c72986eddffc02d2f4dda3fe689f10",
|
||||
"after": "0000000000000000000000000000000000000000",
|
||||
"created": false,
|
||||
"deleted": true,
|
||||
"forced": false,
|
||||
"base_ref": null,
|
||||
"compare": "https://github.com/jsmith/somerepo/compare/76a309ed96c7...000000000000",
|
||||
"commits": [
|
||||
|
||||
],
|
||||
"head_commit": null,
|
||||
"repository": {
|
||||
"id": 12345678,
|
||||
"name": "somerepo",
|
||||
"full_name": "jsmith/somerepo",
|
||||
"owner": {
|
||||
"name": "jsmith",
|
||||
"email": "j@smith.com"
|
||||
},
|
||||
"private": true,
|
||||
"html_url": "https://github.com/jsmith/somerepo",
|
||||
"description": "Dockerfile for some repo",
|
||||
"fork": false,
|
||||
"url": "https://github.com/jsmith/somerepo",
|
||||
"forks_url": "https://api.github.com/repos/jsmith/somerepo/forks",
|
||||
"keys_url": "https://api.github.com/repos/jsmith/somerepo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/jsmith/somerepo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/jsmith/somerepo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/jsmith/somerepo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/jsmith/somerepo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/jsmith/somerepo/events",
|
||||
"assignees_url": "https://api.github.com/repos/jsmith/somerepo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/jsmith/somerepo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/jsmith/somerepo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/jsmith/somerepo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/jsmith/somerepo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/jsmith/somerepo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/jsmith/somerepo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/jsmith/somerepo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/jsmith/somerepo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/jsmith/somerepo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/jsmith/somerepo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/jsmith/somerepo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/jsmith/somerepo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/jsmith/somerepo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/jsmith/somerepo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/jsmith/somerepo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/jsmith/somerepo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/jsmith/somerepo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/jsmith/somerepo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/jsmith/somerepo/merges",
|
||||
"archive_url": "https://api.github.com/repos/jsmith/somerepo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/jsmith/somerepo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/jsmith/somerepo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/jsmith/somerepo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/jsmith/somerepo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/jsmith/somerepo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/jsmith/somerepo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/jsmith/somerepo/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/jsmith/somerepo/deployments",
|
||||
"created_at": 1461165926,
|
||||
"updated_at": "2016-11-03T18:20:01Z",
|
||||
"pushed_at": 1479313569,
|
||||
"git_url": "git://github.com/jsmith/somerepo.git",
|
||||
"ssh_url": "git@github.com:jsmith/somerepo.git",
|
||||
"clone_url": "https://github.com/jsmith/somerepo.git",
|
||||
"svn_url": "https://github.com/jsmith/somerepo",
|
||||
"homepage": "",
|
||||
"size": 3114,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": "Shell",
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 0,
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "master",
|
||||
"stargazers": 0,
|
||||
"master_branch": "master",
|
||||
"organization": "jsmith"
|
||||
},
|
||||
"pusher": {
|
||||
"name": "jsmith",
|
||||
"email": "j@smith.com"
|
||||
},
|
||||
"organization": {
|
||||
"login": "jsmith",
|
||||
"id": 9876543,
|
||||
"url": "https://api.github.com/orgs/jsmith",
|
||||
"repos_url": "https://api.github.com/orgs/jsmith/repos",
|
||||
"events_url": "https://api.github.com/orgs/jsmith/events",
|
||||
"hooks_url": "https://api.github.com/orgs/jsmith/hooks",
|
||||
"issues_url": "https://api.github.com/orgs/jsmith/issues",
|
||||
"members_url": "https://api.github.com/orgs/jsmith/members{/member}",
|
||||
"public_members_url": "https://api.github.com/orgs/jsmith/public_members{/member}",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/1234567?v=3",
|
||||
"description": "Open Source Projects for Linux Containers"
|
||||
},
|
||||
"sender": {
|
||||
"login": "jsmith",
|
||||
"id": 12345678,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/1234567?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/jsmith",
|
||||
"html_url": "https://github.com/jsmith",
|
||||
"followers_url": "https://api.github.com/users/jsmith/followers",
|
||||
"following_url": "https://api.github.com/users/jsmith/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/jsmith/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/jsmith/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/jsmith/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/jsmith/orgs",
|
||||
"repos_url": "https://api.github.com/users/jsmith/repos",
|
||||
"events_url": "https://api.github.com/users/jsmith/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/jsmith/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
133
buildtrigger/test/triggerjson/github_webhook_missing.json
Normal file
133
buildtrigger/test/triggerjson/github_webhook_missing.json
Normal file
|
@ -0,0 +1,133 @@
|
|||
{
|
||||
"ref": "refs/heads/master",
|
||||
"before": "9ea43cab474709d4a61afb7e3340de1ffc405b41",
|
||||
"after": "410f4cdf8ff09b87f245b13845e8497f90b90a4c",
|
||||
"created": false,
|
||||
"deleted": false,
|
||||
"forced": false,
|
||||
"base_ref": null,
|
||||
"compare": "https://github.com/jsmith/anothertest/compare/9ea43cab4747...410f4cdf8ff0",
|
||||
"commits": [
|
||||
{
|
||||
"id": "410f4cdf8ff09b87f245b13845e8497f90b90a4c",
|
||||
"distinct": true,
|
||||
"message": "Update Dockerfile",
|
||||
"timestamp": "2015-09-11T14:26:16-04:00",
|
||||
"url": "https://github.com/jsmith/anothertest/commit/410f4cdf8ff09b87f245b13845e8497f90b90a4c",
|
||||
"added": [],
|
||||
"removed": [],
|
||||
"modified": [
|
||||
"Dockerfile"
|
||||
]
|
||||
}
|
||||
],
|
||||
"head_commit": {
|
||||
"id": "410f4cdf8ff09b87f245b13845e8497f90b90a4c",
|
||||
"distinct": true,
|
||||
"message": "Update Dockerfile",
|
||||
"timestamp": "2015-09-11T14:26:16-04:00",
|
||||
"url": "https://github.com/jsmith/anothertest/commit/410f4cdf8ff09b87f245b13845e8497f90b90a4c",
|
||||
"added": [],
|
||||
"removed": [],
|
||||
"modified": [
|
||||
"Dockerfile"
|
||||
]
|
||||
},
|
||||
"repository": {
|
||||
"id": 12345678,
|
||||
"name": "anothertest",
|
||||
"full_name": "jsmith/anothertest",
|
||||
"owner": {
|
||||
"name": "jsmith",
|
||||
"email": "jsmith@users.noreply.github.com"
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/jsmith/anothertest",
|
||||
"description": "",
|
||||
"fork": false,
|
||||
"url": "https://github.com/jsmith/anothertest",
|
||||
"forks_url": "https://api.github.com/repos/jsmith/anothertest/forks",
|
||||
"keys_url": "https://api.github.com/repos/jsmith/anothertest/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/jsmith/anothertest/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/jsmith/anothertest/teams",
|
||||
"hooks_url": "https://api.github.com/repos/jsmith/anothertest/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/jsmith/anothertest/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/jsmith/anothertest/events",
|
||||
"assignees_url": "https://api.github.com/repos/jsmith/anothertest/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/jsmith/anothertest/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/jsmith/anothertest/tags",
|
||||
"blobs_url": "https://api.github.com/repos/jsmith/anothertest/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/jsmith/anothertest/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/jsmith/anothertest/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/jsmith/anothertest/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/jsmith/anothertest/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/jsmith/anothertest/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/jsmith/anothertest/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/jsmith/anothertest/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/jsmith/anothertest/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/jsmith/anothertest/subscription",
|
||||
"commits_url": "https://api.github.com/repos/jsmith/anothertest/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/jsmith/anothertest/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/jsmith/anothertest/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/jsmith/anothertest/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/jsmith/anothertest/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/jsmith/anothertest/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/jsmith/anothertest/merges",
|
||||
"archive_url": "https://api.github.com/repos/jsmith/anothertest/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/jsmith/anothertest/downloads",
|
||||
"issues_url": "https://api.github.com/repos/jsmith/anothertest/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/jsmith/anothertest/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/jsmith/anothertest/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/jsmith/anothertest/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/jsmith/anothertest/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/jsmith/anothertest/releases{/id}",
|
||||
"created_at": 1430426945,
|
||||
"updated_at": "2015-04-30T20:49:05Z",
|
||||
"pushed_at": 1441995976,
|
||||
"git_url": "git://github.com/jsmith/anothertest.git",
|
||||
"ssh_url": "git@github.com:jsmith/anothertest.git",
|
||||
"clone_url": "https://github.com/jsmith/anothertest.git",
|
||||
"svn_url": "https://github.com/jsmith/anothertest",
|
||||
"homepage": null,
|
||||
"size": 144,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 0,
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "master",
|
||||
"stargazers": 0,
|
||||
"master_branch": "master"
|
||||
},
|
||||
"pusher": {
|
||||
"name": "jsmith",
|
||||
"email": "jsmith@users.noreply.github.com"
|
||||
},
|
||||
"sender": {
|
||||
"login": "jsmith",
|
||||
"id": 1234567,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/4073002?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/jsmith",
|
||||
"html_url": "https://github.com/jsmith",
|
||||
"followers_url": "https://api.github.com/users/jsmith/followers",
|
||||
"following_url": "https://api.github.com/users/jsmith/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/jsmith/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/jsmith/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/jsmith/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/jsmith/orgs",
|
||||
"repos_url": "https://api.github.com/users/jsmith/repos",
|
||||
"events_url": "https://api.github.com/users/jsmith/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/jsmith/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
149
buildtrigger/test/triggerjson/github_webhook_noname.json
Normal file
149
buildtrigger/test/triggerjson/github_webhook_noname.json
Normal file
|
@ -0,0 +1,149 @@
|
|||
{
|
||||
"ref": "refs/heads/master",
|
||||
"before": "9716b516939221dc754a056e0f9ddf599e71d4b8",
|
||||
"after": "118b07121695d9f2e40a5ff264fdcc2917680870",
|
||||
"created": false,
|
||||
"deleted": false,
|
||||
"forced": false,
|
||||
"base_ref": null,
|
||||
"compare": "https://github.com/jsmith/docker-test/compare/9716b5169392...118b07121695",
|
||||
"commits": [
|
||||
{
|
||||
"id": "118b07121695d9f2e40a5ff264fdcc2917680870",
|
||||
"distinct": true,
|
||||
"message": "Fail",
|
||||
"timestamp": "2015-09-25T14:55:11-04:00",
|
||||
"url": "https://github.com/jsmith/docker-test/commit/118b07121695d9f2e40a5ff264fdcc2917680870",
|
||||
"author": {
|
||||
"name": "John Smith",
|
||||
"email": "j@smith.com"
|
||||
},
|
||||
"committer": {
|
||||
"name": "John Smith",
|
||||
"email": "j@smith.com"
|
||||
},
|
||||
"added": [],
|
||||
"removed": [],
|
||||
"modified": [
|
||||
"README.md"
|
||||
]
|
||||
}
|
||||
],
|
||||
"head_commit": {
|
||||
"id": "118b07121695d9f2e40a5ff264fdcc2917680870",
|
||||
"distinct": true,
|
||||
"message": "Fail",
|
||||
"timestamp": "2015-09-25T14:55:11-04:00",
|
||||
"url": "https://github.com/jsmith/docker-test/commit/118b07121695d9f2e40a5ff264fdcc2917680870",
|
||||
"author": {
|
||||
"name": "John Smith",
|
||||
"email": "j@smith.com"
|
||||
},
|
||||
"committer": {
|
||||
"name": "John Smith",
|
||||
"email": "j@smith.com"
|
||||
},
|
||||
"added": [],
|
||||
"removed": [],
|
||||
"modified": [
|
||||
"README.md"
|
||||
]
|
||||
},
|
||||
"repository": {
|
||||
"id": 1234567,
|
||||
"name": "docker-test",
|
||||
"full_name": "jsmith/docker-test",
|
||||
"owner": {
|
||||
"name": "jsmith",
|
||||
"email": "j@smith.com"
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/jsmith/docker-test",
|
||||
"description": "",
|
||||
"fork": false,
|
||||
"url": "https://github.com/jsmith/docker-test",
|
||||
"forks_url": "https://api.github.com/repos/jsmith/docker-test/forks",
|
||||
"keys_url": "https://api.github.com/repos/jsmith/docker-test/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/jsmith/docker-test/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/jsmith/docker-test/teams",
|
||||
"hooks_url": "https://api.github.com/repos/jsmith/docker-test/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/jsmith/docker-test/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/jsmith/docker-test/events",
|
||||
"assignees_url": "https://api.github.com/repos/jsmith/docker-test/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/jsmith/docker-test/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/jsmith/docker-test/tags",
|
||||
"blobs_url": "https://api.github.com/repos/jsmith/docker-test/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/jsmith/docker-test/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/jsmith/docker-test/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/jsmith/docker-test/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/jsmith/docker-test/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/jsmith/docker-test/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/jsmith/docker-test/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/jsmith/docker-test/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/jsmith/docker-test/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/jsmith/docker-test/subscription",
|
||||
"commits_url": "https://api.github.com/repos/jsmith/docker-test/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/jsmith/docker-test/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/jsmith/docker-test/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/jsmith/docker-test/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/jsmith/docker-test/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/jsmith/docker-test/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/jsmith/docker-test/merges",
|
||||
"archive_url": "https://api.github.com/repos/jsmith/docker-test/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/jsmith/docker-test/downloads",
|
||||
"issues_url": "https://api.github.com/repos/jsmith/docker-test/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/jsmith/docker-test/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/jsmith/docker-test/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/jsmith/docker-test/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/jsmith/docker-test/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/jsmith/docker-test/releases{/id}",
|
||||
"created_at": 1442254053,
|
||||
"updated_at": "2015-09-14T18:07:33Z",
|
||||
"pushed_at": 1443207315,
|
||||
"git_url": "git://github.com/jsmith/docker-test.git",
|
||||
"ssh_url": "git@github.com:jsmith/docker-test.git",
|
||||
"clone_url": "https://github.com/jsmith/docker-test.git",
|
||||
"svn_url": "https://github.com/jsmith/docker-test",
|
||||
"homepage": null,
|
||||
"size": 108,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 0,
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "master",
|
||||
"stargazers": 0,
|
||||
"master_branch": "master"
|
||||
},
|
||||
"pusher": {
|
||||
"name": "jsmith",
|
||||
"email": "j@smith.com"
|
||||
},
|
||||
"sender": {
|
||||
"login": "jsmith",
|
||||
"id": 1234567,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/1234567?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/jsmith",
|
||||
"html_url": "https://github.com/jsmith",
|
||||
"followers_url": "https://api.github.com/users/jsmith/followers",
|
||||
"following_url": "https://api.github.com/users/jsmith/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/jsmith/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/jsmith/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/jsmith/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/jsmith/orgs",
|
||||
"repos_url": "https://api.github.com/users/jsmith/repos",
|
||||
"events_url": "https://api.github.com/users/jsmith/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/jsmith/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
153
buildtrigger/test/triggerjson/github_webhook_slash_branch.json
Normal file
153
buildtrigger/test/triggerjson/github_webhook_slash_branch.json
Normal file
|
@ -0,0 +1,153 @@
|
|||
{
|
||||
"ref": "refs/heads/slash/branch",
|
||||
"before": "9ea43cab474709d4a61afb7e3340de1ffc405b41",
|
||||
"after": "410f4cdf8ff09b87f245b13845e8497f90b90a4c",
|
||||
"created": false,
|
||||
"deleted": false,
|
||||
"forced": false,
|
||||
"base_ref": null,
|
||||
"compare": "https://github.com/jsmith/anothertest/compare/9ea43cab4747...410f4cdf8ff0",
|
||||
"commits": [
|
||||
{
|
||||
"id": "410f4cdf8ff09b87f245b13845e8497f90b90a4c",
|
||||
"distinct": true,
|
||||
"message": "Update Dockerfile",
|
||||
"timestamp": "2015-09-11T14:26:16-04:00",
|
||||
"url": "https://github.com/jsmith/anothertest/commit/410f4cdf8ff09b87f245b13845e8497f90b90a4c",
|
||||
"author": {
|
||||
"name": "jsmith",
|
||||
"email": "jsmith@users.noreply.github.com",
|
||||
"username": "jsmith"
|
||||
},
|
||||
"committer": {
|
||||
"name": "jsmith",
|
||||
"email": "jsmith@users.noreply.github.com",
|
||||
"username": "jsmith"
|
||||
},
|
||||
"added": [],
|
||||
"removed": [],
|
||||
"modified": [
|
||||
"Dockerfile"
|
||||
]
|
||||
}
|
||||
],
|
||||
"head_commit": {
|
||||
"id": "410f4cdf8ff09b87f245b13845e8497f90b90a4c",
|
||||
"distinct": true,
|
||||
"message": "Update Dockerfile",
|
||||
"timestamp": "2015-09-11T14:26:16-04:00",
|
||||
"url": "https://github.com/jsmith/anothertest/commit/410f4cdf8ff09b87f245b13845e8497f90b90a4c",
|
||||
"author": {
|
||||
"name": "jsmith",
|
||||
"email": "jsmith@users.noreply.github.com",
|
||||
"username": "jsmith"
|
||||
},
|
||||
"committer": {
|
||||
"name": "jsmith",
|
||||
"email": "jsmith@users.noreply.github.com",
|
||||
"username": "jsmith"
|
||||
},
|
||||
"added": [],
|
||||
"removed": [],
|
||||
"modified": [
|
||||
"Dockerfile"
|
||||
]
|
||||
},
|
||||
"repository": {
|
||||
"id": 1234567,
|
||||
"name": "anothertest",
|
||||
"full_name": "jsmith/anothertest",
|
||||
"owner": {
|
||||
"name": "jsmith",
|
||||
"email": "jsmith@users.noreply.github.com"
|
||||
},
|
||||
"private": false,
|
||||
"html_url": "https://github.com/jsmith/anothertest",
|
||||
"description": "",
|
||||
"fork": false,
|
||||
"url": "https://github.com/jsmith/anothertest",
|
||||
"forks_url": "https://api.github.com/repos/jsmith/anothertest/forks",
|
||||
"keys_url": "https://api.github.com/repos/jsmith/anothertest/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/jsmith/anothertest/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/jsmith/anothertest/teams",
|
||||
"hooks_url": "https://api.github.com/repos/jsmith/anothertest/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/jsmith/anothertest/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/jsmith/anothertest/events",
|
||||
"assignees_url": "https://api.github.com/repos/jsmith/anothertest/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/jsmith/anothertest/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/jsmith/anothertest/tags",
|
||||
"blobs_url": "https://api.github.com/repos/jsmith/anothertest/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/jsmith/anothertest/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/jsmith/anothertest/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/jsmith/anothertest/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/jsmith/anothertest/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/jsmith/anothertest/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/jsmith/anothertest/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/jsmith/anothertest/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/jsmith/anothertest/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/jsmith/anothertest/subscription",
|
||||
"commits_url": "https://api.github.com/repos/jsmith/anothertest/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/jsmith/anothertest/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/jsmith/anothertest/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/jsmith/anothertest/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/jsmith/anothertest/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/jsmith/anothertest/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/jsmith/anothertest/merges",
|
||||
"archive_url": "https://api.github.com/repos/jsmith/anothertest/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/jsmith/anothertest/downloads",
|
||||
"issues_url": "https://api.github.com/repos/jsmith/anothertest/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/jsmith/anothertest/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/jsmith/anothertest/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/jsmith/anothertest/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/jsmith/anothertest/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/jsmith/anothertest/releases{/id}",
|
||||
"created_at": 1430426945,
|
||||
"updated_at": "2015-04-30T20:49:05Z",
|
||||
"pushed_at": 1441995976,
|
||||
"git_url": "git://github.com/jsmith/anothertest.git",
|
||||
"ssh_url": "git@github.com:jsmith/anothertest.git",
|
||||
"clone_url": "https://github.com/jsmith/anothertest.git",
|
||||
"svn_url": "https://github.com/jsmith/anothertest",
|
||||
"homepage": null,
|
||||
"size": 144,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"open_issues_count": 0,
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "master",
|
||||
"stargazers": 0,
|
||||
"master_branch": "master"
|
||||
},
|
||||
"pusher": {
|
||||
"name": "jsmith",
|
||||
"email": "jsmith@users.noreply.github.com"
|
||||
},
|
||||
"sender": {
|
||||
"login": "jsmith",
|
||||
"id": 1234567,
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/1234567?v=3",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/jsmith",
|
||||
"html_url": "https://github.com/jsmith",
|
||||
"followers_url": "https://api.github.com/users/jsmith/followers",
|
||||
"following_url": "https://api.github.com/users/jsmith/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/jsmith/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/jsmith/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/jsmith/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/jsmith/orgs",
|
||||
"repos_url": "https://api.github.com/users/jsmith/repos",
|
||||
"events_url": "https://api.github.com/users/jsmith/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/jsmith/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
54
buildtrigger/test/triggerjson/gitlab_webhook.json
Normal file
54
buildtrigger/test/triggerjson/gitlab_webhook.json
Normal file
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
"object_kind": "push",
|
||||
"before": "11fcaca195e8b17ca7e3dc47d9608d5b6b892f45",
|
||||
"after": "fb88379ee45de28a0a4590fddcbd8eff8b36026e",
|
||||
"ref": "refs/heads/master",
|
||||
"checkout_sha": "fb88379ee45de28a0a4590fddcbd8eff8b36026e",
|
||||
"message": null,
|
||||
"user_id": 98765,
|
||||
"user_name": "John Smith",
|
||||
"user_email": "j@smith.com",
|
||||
"project_id": 12344567,
|
||||
"repository": {
|
||||
"name": "somerepo",
|
||||
"url": "git@gitlab.com:jsmith/somerepo.git",
|
||||
"description": "",
|
||||
"homepage": "https://gitlab.com/jsmith/somerepo",
|
||||
"git_http_url": "https://gitlab.com/jsmith/somerepo.git",
|
||||
"git_ssh_url": "git@gitlab.com:jsmith/somerepo.git",
|
||||
"visibility_level": 20
|
||||
},
|
||||
"commits": [
|
||||
{
|
||||
"id": "fb88379ee45de28a0a4590fddcbd8eff8b36026e",
|
||||
"message": "Fix link\n",
|
||||
"timestamp": "2015-08-13T19:33:18+00:00",
|
||||
"url": "https://gitlab.com/jsmith/somerepo/commit/fb88379ee45de28a0a4590fddcbd8eff8b36026e",
|
||||
"author": {
|
||||
"name": "Jane Smith",
|
||||
"email": "jane@smith.com"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "4ca166bc0b511f21fa331873f260f1a7cb38d723",
|
||||
"message": "Do Some Cool Thing",
|
||||
"timestamp": "2015-08-13T15:52:15+00:00",
|
||||
"url": "https://gitlab.com/jsmith/somerepo/commit/4ca166bc0b511f21fa331873f260f1a7cb38d723",
|
||||
"author": {
|
||||
"name": "Jane Smith",
|
||||
"email": "jane@smith.com"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "11fcaca195e8b17ca7e3dc47d9608d5b6b892f45",
|
||||
"message": "Merge another cool thing",
|
||||
"timestamp": "2015-08-13T09:31:47+00:00",
|
||||
"url": "https://gitlab.com/jsmith/somerepo/commit/11fcaca195e8b17ca7e3dc47d9608d5b6b892f45",
|
||||
"author": {
|
||||
"name": "Kate Smith",
|
||||
"email": "kate@smith.com"
|
||||
}
|
||||
}
|
||||
],
|
||||
"total_commits_count": 3
|
||||
}
|
|
@ -0,0 +1,61 @@
|
|||
{
|
||||
"ref": "refs/tags/fourthtag",
|
||||
"user_id": 4797254,
|
||||
"object_kind": "tag_push",
|
||||
"repository": {
|
||||
"git_ssh_url": "git@gitlab.com:someuser/some-test-project.git",
|
||||
"name": "Some test project",
|
||||
"url": "git@gitlab.com:someuser/some-test-project.git",
|
||||
"git_http_url": "https://gitlab.com/someuser/some-test-project.git",
|
||||
"visibility_level": 0,
|
||||
"homepage": "https://gitlab.com/someuser/some-test-project",
|
||||
"description": "Some test project"
|
||||
},
|
||||
"event_name": "tag_push",
|
||||
"commits": [
|
||||
{
|
||||
"added": [],
|
||||
"author": {
|
||||
"name": "Some User",
|
||||
"email": "someuser@somedomain.com"
|
||||
},
|
||||
"url": "https://gitlab.com/someuser/some-test-project/commit/770830e7ca132856991e6db4f7fc0f4dbe20bd5f",
|
||||
"timestamp": "2019-10-17T18:07:48Z",
|
||||
"message": "Update Dockerfile",
|
||||
"removed": [],
|
||||
"modified": [
|
||||
"Dockerfile"
|
||||
],
|
||||
"id": "770830e7ca132856991e6db4f7fc0f4dbe20bd5f"
|
||||
}
|
||||
],
|
||||
"after": "770830e7ca132856991e6db4f7fc0f4dbe20bd5f",
|
||||
"project": {
|
||||
"git_ssh_url": "git@gitlab.com:someuser/some-test-project.git",
|
||||
"ci_config_path": null,
|
||||
"web_url": "https://gitlab.com/someuser/some-test-project",
|
||||
"description": "Some test project",
|
||||
"url": "git@gitlab.com:someuser/some-test-project.git",
|
||||
"namespace": "Some User",
|
||||
"default_branch": "master",
|
||||
"homepage": "https://gitlab.com/someuser/some-test-project",
|
||||
"git_http_url": "https://gitlab.com/someuser/some-test-project.git",
|
||||
"avatar_url": null,
|
||||
"ssh_url": "git@gitlab.com:someuser/some-test-project.git",
|
||||
"http_url": "https://gitlab.com/someuser/some-test-project.git",
|
||||
"path_with_namespace": "someuser/some-test-project",
|
||||
"visibility_level": 0,
|
||||
"id": 14838571,
|
||||
"name": "Some test project"
|
||||
},
|
||||
"user_username": "someuser",
|
||||
"checkout_sha": "770830e7ca132856991e6db4f7fc0f4dbe20bd5f",
|
||||
"total_commits_count": 1,
|
||||
"before": "0000000000000000000000000000000000000000",
|
||||
"user_avatar": "https://secure.gravatar.com/avatar/0ea05bdf5c3f2cb8aac782a4a2ac3177?s=80&d=identicon",
|
||||
"message": "",
|
||||
"project_id": 14838571,
|
||||
"user_name": "Some User",
|
||||
"user_email": "",
|
||||
"push_options": {}
|
||||
}
|
100
buildtrigger/test/triggerjson/gitlab_webhook_multicommit.json
Normal file
100
buildtrigger/test/triggerjson/gitlab_webhook_multicommit.json
Normal file
|
@ -0,0 +1,100 @@
|
|||
{
|
||||
"object_kind": "push",
|
||||
"event_name": "push",
|
||||
"before": "0da5b5ebb397f0a8569c97f28e266c718607e8da",
|
||||
"after": "9a052a0b2fbe01d4a1a88638dd9fe31c1c56ef53",
|
||||
"ref": "refs\/heads\/master",
|
||||
"checkout_sha": "9a052a0b2fbe01d4a1a88638dd9fe31c1c56ef53",
|
||||
"message": null,
|
||||
"user_id": 750047,
|
||||
"user_name": "John Smith",
|
||||
"user_email": "j@smith.com",
|
||||
"user_avatar": "https:\/\/secure.gravatar.com\/avatar\/32784623495678234678234?s=80&d=identicon",
|
||||
"project_id": 1756744,
|
||||
"project": {
|
||||
"name": "some-test-project",
|
||||
"description": "",
|
||||
"web_url": "https:\/\/gitlab.com\/jsmith\/some-test-project",
|
||||
"avatar_url": null,
|
||||
"git_ssh_url": "git@gitlab.com:jsmith\/some-test-project.git",
|
||||
"git_http_url": "https:\/\/gitlab.com\/jsmith\/some-test-project.git",
|
||||
"namespace": "jsmith",
|
||||
"visibility_level": 0,
|
||||
"path_with_namespace": "jsmith\/some-test-project",
|
||||
"default_branch": "master",
|
||||
"homepage": "https:\/\/gitlab.com\/jsmith\/some-test-project",
|
||||
"url": "git@gitlab.com:jsmith\/some-test-project.git",
|
||||
"ssh_url": "git@gitlab.com:jsmith\/some-test-project.git",
|
||||
"http_url": "https:\/\/gitlab.com\/jsmith\/some-test-project.git"
|
||||
},
|
||||
"commits": [
|
||||
{
|
||||
"id": "f00a0a6a71118721ac1f586bf79650170042609f",
|
||||
"message": "Add changelog",
|
||||
"timestamp": "2016-09-29T14:59:23+00:00",
|
||||
"url": "https:\/\/gitlab.com\/jsmith\/some-test-project\/commit\/f00a0a6a71118721ac1f586bf79650170042609f",
|
||||
"author": {
|
||||
"name": "John Smith",
|
||||
"email": "j@smith.com"
|
||||
},
|
||||
"added": [
|
||||
"CHANGELOG"
|
||||
],
|
||||
"modified": [
|
||||
|
||||
],
|
||||
"removed": [
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "cc66287314cb154c986665a6c29377ef42edee60",
|
||||
"message": "Add new file",
|
||||
"timestamp": "2016-09-29T15:02:01+00:00",
|
||||
"url": "https:\/\/gitlab.com\/jsmith\/some-test-project\/commit\/cc66287314cb154c986665a6c29377ef42edee60",
|
||||
"author": {
|
||||
"name": "John Smith",
|
||||
"email": "j@smith.com"
|
||||
},
|
||||
"added": [
|
||||
"YetAnotherFIle"
|
||||
],
|
||||
"modified": [
|
||||
|
||||
],
|
||||
"removed": [
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "9a052a0b2fbe01d4a1a88638dd9fe31c1c56ef53",
|
||||
"message": "Merge branch 'foobar' into 'master'\r\n\r\nAdd changelog\r\n\r\nSome merge thing\r\n\r\nSee merge request !1",
|
||||
"timestamp": "2016-09-29T15:02:41+00:00",
|
||||
"url": "https:\/\/gitlab.com\/jsmith\/some-test-project\/commit\/9a052a0b2fbe01d4a1a88638dd9fe31c1c56ef53",
|
||||
"author": {
|
||||
"name": "John Smith",
|
||||
"email": "j@smith.com"
|
||||
},
|
||||
"added": [
|
||||
"CHANGELOG",
|
||||
"YetAnotherFIle"
|
||||
],
|
||||
"modified": [
|
||||
|
||||
],
|
||||
"removed": [
|
||||
|
||||
]
|
||||
}
|
||||
],
|
||||
"total_commits_count": 3,
|
||||
"repository": {
|
||||
"name": "some-test-project",
|
||||
"url": "git@gitlab.com:jsmith\/some-test-project.git",
|
||||
"description": "",
|
||||
"homepage": "https:\/\/gitlab.com\/jsmith\/some-test-project",
|
||||
"git_http_url": "https:\/\/gitlab.com\/jsmith\/some-test-project.git",
|
||||
"git_ssh_url": "git@gitlab.com:jsmith\/some-test-project.git",
|
||||
"visibility_level": 0
|
||||
}
|
||||
}
|
44
buildtrigger/test/triggerjson/gitlab_webhook_nocommit.json
Normal file
44
buildtrigger/test/triggerjson/gitlab_webhook_nocommit.json
Normal file
|
@ -0,0 +1,44 @@
|
|||
{
|
||||
"object_kind": "push",
|
||||
"event_name": "push",
|
||||
"before": "cc66287314cb154c986665a6c29377ef42edee60",
|
||||
"after": "0000000000000000000000000000000000000000",
|
||||
"ref": "refs\/heads\/foobar",
|
||||
"checkout_sha": null,
|
||||
"message": null,
|
||||
"user_id": 750047,
|
||||
"user_name": "John Smith",
|
||||
"user_email": "j@smith.com",
|
||||
"user_avatar": "https:\/\/secure.gravatar.com\/avatar\/2348972348972348973?s=80&d=identicon",
|
||||
"project_id": 1756744,
|
||||
"project": {
|
||||
"name": "some-test-project",
|
||||
"description": "",
|
||||
"web_url": "https:\/\/gitlab.com\/jsmith\/some-test-project",
|
||||
"avatar_url": null,
|
||||
"git_ssh_url": "git@gitlab.com:jsmith\/some-test-project.git",
|
||||
"git_http_url": "https:\/\/gitlab.com\/jsmith\/some-test-project.git",
|
||||
"namespace": "jsmith",
|
||||
"visibility_level": 0,
|
||||
"path_with_namespace": "jsmith\/some-test-project",
|
||||
"default_branch": "master",
|
||||
"homepage": "https:\/\/gitlab.com\/jsmith\/some-test-project",
|
||||
"url": "git@gitlab.com:jsmith\/some-test-project.git",
|
||||
"ssh_url": "git@gitlab.com:jsmith\/some-test-project.git",
|
||||
"http_url": "https:\/\/gitlab.com\/jsmith\/some-test-project.git"
|
||||
},
|
||||
"commits": [
|
||||
|
||||
],
|
||||
"total_commits_count": 0,
|
||||
"repository": {
|
||||
"name": "some-test-project",
|
||||
"url": "git@gitlab.com:jsmith\/some-test-project.git",
|
||||
"description": "",
|
||||
"homepage": "https:\/\/gitlab.com\/jsmith\/some-test-project",
|
||||
"git_http_url": "https:\/\/gitlab.com\/jsmith\/some-test-project.git",
|
||||
"git_ssh_url": "git@gitlab.com:jsmith\/some-test-project.git",
|
||||
"visibility_level": 0
|
||||
}
|
||||
}
|
||||
|
14
buildtrigger/test/triggerjson/gitlab_webhook_other.json
Normal file
14
buildtrigger/test/triggerjson/gitlab_webhook_other.json
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"object_kind": "someother",
|
||||
"ref": "refs/tags/v1.0.0",
|
||||
"checkout_sha": "82b3d5ae55f7080f1e6022629cdb57bfae7cccc7",
|
||||
"repository":{
|
||||
"name": "Example",
|
||||
"url": "ssh://git@example.com/jsmith/example.git",
|
||||
"description": "",
|
||||
"homepage": "http://example.com/jsmith/example",
|
||||
"git_http_url":"http://example.com/jsmith/example.git",
|
||||
"git_ssh_url":"git@example.com:jsmith/example.git",
|
||||
"visibility_level":0
|
||||
}
|
||||
}
|
38
buildtrigger/test/triggerjson/gitlab_webhook_tag.json
Normal file
38
buildtrigger/test/triggerjson/gitlab_webhook_tag.json
Normal file
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"object_kind": "tag_push",
|
||||
"before": "0000000000000000000000000000000000000000",
|
||||
"after": "82b3d5ae55f7080f1e6022629cdb57bfae7cccc7",
|
||||
"ref": "refs/tags/v1.0.0",
|
||||
"checkout_sha": "82b3d5ae55f7080f1e6022629cdb57bfae7cccc7",
|
||||
"user_id": 1,
|
||||
"user_name": "John Smith",
|
||||
"user_avatar": "https://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=8://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=80",
|
||||
"project_id": 1,
|
||||
"project":{
|
||||
"name":"Example",
|
||||
"description":"",
|
||||
"web_url":"http://example.com/jsmith/example",
|
||||
"avatar_url":null,
|
||||
"git_ssh_url":"git@example.com:jsmith/example.git",
|
||||
"git_http_url":"http://example.com/jsmith/example.git",
|
||||
"namespace":"Jsmith",
|
||||
"visibility_level":0,
|
||||
"path_with_namespace":"jsmith/example",
|
||||
"default_branch":"master",
|
||||
"homepage":"http://example.com/jsmith/example",
|
||||
"url":"git@example.com:jsmith/example.git",
|
||||
"ssh_url":"git@example.com:jsmith/example.git",
|
||||
"http_url":"http://example.com/jsmith/example.git"
|
||||
},
|
||||
"repository":{
|
||||
"name": "Example",
|
||||
"url": "ssh://git@example.com/jsmith/example.git",
|
||||
"description": "",
|
||||
"homepage": "http://example.com/jsmith/example",
|
||||
"git_http_url":"http://example.com/jsmith/example.git",
|
||||
"git_ssh_url":"git@example.com:jsmith/example.git",
|
||||
"visibility_level":0
|
||||
},
|
||||
"commits": [],
|
||||
"total_commits_count": 0
|
||||
}
|
|
@ -0,0 +1,61 @@
|
|||
{
|
||||
"after": "770830e7ca132856991e6db4f7fc0f4dbe20bd5f",
|
||||
"before": "0000000000000000000000000000000000000000",
|
||||
"checkout_sha": "770830e7ca132856991e6db4f7fc0f4dbe20bd5f",
|
||||
"commits": [
|
||||
{
|
||||
"added": [],
|
||||
"author": {
|
||||
"name": "Some User",
|
||||
"email": "some.user@someplace.com"
|
||||
},
|
||||
"id": "770830e7ca132856991e6db4f7fc0f4dbe20bd5f",
|
||||
"message": "Update Dockerfile",
|
||||
"modified": [
|
||||
"Dockerfile"
|
||||
],
|
||||
"removed": [],
|
||||
"timestamp": "2019-10-17T18:07:48Z",
|
||||
"url": "https://gitlab.com/someuser/some-test-project/commit/770830e7ca132856991e6db4f7fc0f4dbe20bd5f"
|
||||
}
|
||||
],
|
||||
"event_name": "tag_push",
|
||||
"message": "",
|
||||
"object_kind": "tag_push",
|
||||
"project": {
|
||||
"avatar_url": null,
|
||||
"ci_config_path": null,
|
||||
"default_branch": "master",
|
||||
"description": "Some test project",
|
||||
"git_http_url": "https://gitlab.com/someuser/some-test-project.git",
|
||||
"git_ssh_url": "git@gitlab.com:someuser/some-test-project.git",
|
||||
"homepage": "https://gitlab.com/someuser/some-test-project",
|
||||
"http_url": "https://gitlab.com/someuser/some-test-project.git",
|
||||
"id": 14838571,
|
||||
"name": "Some test project",
|
||||
"namespace": "Joey Schorr",
|
||||
"path_with_namespace": "someuser/some-test-project",
|
||||
"ssh_url": "git@gitlab.com:someuser/some-test-project.git",
|
||||
"url": "git@gitlab.com:someuser/some-test-project.git",
|
||||
"visibility_level": 0,
|
||||
"web_url": "https://gitlab.com/someuser/some-test-project"
|
||||
},
|
||||
"project_id": 14838571,
|
||||
"push_options": {},
|
||||
"ref": "refs/tags/thirdtag",
|
||||
"repository": {
|
||||
"description": "Some test project",
|
||||
"git_http_url": "https://gitlab.com/someuser/some-test-project.git",
|
||||
"git_ssh_url": "git@gitlab.com:someuser/some-test-project.git",
|
||||
"homepage": "https://gitlab.com/someuser/some-test-project",
|
||||
"name": "Some test project",
|
||||
"url": "git@gitlab.com:someuser/some-test-project.git",
|
||||
"visibility_level": 0
|
||||
},
|
||||
"total_commits_count": 1,
|
||||
"user_avatar": "https://secure.gravatar.com/avatar/someavatar?s=80&d=identicon",
|
||||
"user_email": "",
|
||||
"user_id": 4797254,
|
||||
"user_name": "Some User",
|
||||
"user_username": "someuser"
|
||||
}
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"object_kind": "tag_push",
|
||||
"before": "0000000000000000000000000000000000000000",
|
||||
"after": "82b3d5ae55f7080f1e6022629cdb57bfae7cccc7",
|
||||
"ref": "refs/tags/v1.0.0",
|
||||
"checkout_sha": null,
|
||||
"user_id": 1,
|
||||
"user_name": "John Smith",
|
||||
"user_avatar": "https://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=8://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=80",
|
||||
"project_id": 1,
|
||||
"project":{
|
||||
"name":"Example",
|
||||
"description":"",
|
||||
"web_url":"http://example.com/jsmith/example",
|
||||
"avatar_url":null,
|
||||
"git_ssh_url":"git@example.com:jsmith/example.git",
|
||||
"git_http_url":"http://example.com/jsmith/example.git",
|
||||
"namespace":"Jsmith",
|
||||
"visibility_level":0,
|
||||
"path_with_namespace":"jsmith/example",
|
||||
"default_branch":"master",
|
||||
"homepage":"http://example.com/jsmith/example",
|
||||
"url":"git@example.com:jsmith/example.git",
|
||||
"ssh_url":"git@example.com:jsmith/example.git",
|
||||
"http_url":"http://example.com/jsmith/example.git"
|
||||
},
|
||||
"repository":{
|
||||
"name": "Example",
|
||||
"url": "ssh://git@example.com/jsmith/example.git",
|
||||
"description": "",
|
||||
"homepage": "http://example.com/jsmith/example",
|
||||
"git_http_url":"http://example.com/jsmith/example.git",
|
||||
"git_ssh_url":"git@example.com:jsmith/example.git",
|
||||
"visibility_level":0
|
||||
},
|
||||
"commits": [],
|
||||
"total_commits_count": 0
|
||||
}
|
Reference in a new issue