Files
argo-cd/util/webhook/bitbucket-server-event.json

75 lines
1.7 KiB
JSON

{
"eventKey":"repo:refs_changed",
"date":"2019-06-17T19:37:57+1000",
"actor":{
"name":"john",
"emailAddress":"john@example.com",
"id":500,
"displayName":"John",
"active":true,
"slug":"john",
"type":"NORMAL",
"links":{
"self":[
{
"href":"https://bitbucketserver/users/john"
}
]
}
},
"repository":{
"slug":"test-repo",
"id":656,
"name":"test-repo",
"scmId":"git",
"state":"AVAILABLE",
"statusMessage":"Available",
"forkable":true,
"project":{
"key":"MYPROJECT",
"id":389,
"name":"My Project",
"public":true,
"type":"NORMAL",
"links":{
"self":[
{
"href":"https://bitbucketserver/projects/MYPROJECT"
}
]
}
},
"public":false,
"links":{
"clone":[
{
"href":"ssh://git@bitbucketserver:7999/myproject/test-repo.git",
"name":"ssh"
},
{
"href":"https://bitbucketserver/scm/myproject/test-repo.git",
"name":"http"
}
],
"self":[
{
"href":"https://bitbucketserver/projects/MYPROJECT/repos/test-repo/browse"
}
]
}
},
"changes":[
{
"ref":{
"id":"refs/heads/master",
"displayId":"master",
"type":"BRANCH"
},
"refId":"refs/heads/master",
"fromHash":"f09c8889a2d234985734958795a31589cd91ffda",
"toHash":"22671f0349857934857983457983475ec39f196b",
"type":"UPDATE"
}
]
}