Guest User

Untitled

a guest
Dec 29th, 2018
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.09 KB | None | 0 0
  1. http://jenkins-server/job/test/buildWithParameters?GITREPO=git@gitlab.com/test-repo.git&SOMEOTHERPARAMETER=somevalue
  2.  
  3. {
  4. "object_kind": "push",
  5. "before": "95790bf891e76fee5e1747ab589903a6a1f80f22",
  6. "after": "da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
  7. "ref": "refs/heads/master",
  8. "checkout_sha": "da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
  9. "user_id": 4,
  10. "user_name": "John Smith",
  11. "user_username": "jsmith",
  12. "user_email": "john@example.com",
  13. "user_avatar": "https://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=8://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=80",
  14. "project_id": 15,
  15. "project":{
  16. "id": 15,
  17. "name":"Diaspora",
  18. "description":"",
  19. "web_url":"http://example.com/mike/diaspora",
  20. "avatar_url":null,
  21. "git_ssh_url":"git@example.com:mike/diaspora.git",
  22. "git_http_url":"http://example.com/mike/diaspora.git",
  23. "namespace":"Mike",
  24. "visibility_level":0,
  25. "path_with_namespace":"mike/diaspora",
  26. "default_branch":"master",
  27. "homepage":"http://example.com/mike/diaspora",
  28. "url":"git@example.com:mike/diaspora.git",
  29. "ssh_url":"git@example.com:mike/diaspora.git",
  30. "http_url":"http://example.com/mike/diaspora.git"
  31. },
  32. "repository":{
  33. "name": "Diaspora",
  34. "url": "git@example.com:mike/diaspora.git",
  35. "description": "",
  36. "homepage": "http://example.com/mike/diaspora",
  37. "git_http_url":"http://example.com/mike/diaspora.git",
  38. "git_ssh_url":"git@example.com:mike/diaspora.git",
  39. "visibility_level":0
  40. },
  41. "commits": [
  42. {
  43. "id": "b6568db1bc1dcd7f8b4d5a946b0b91f9dacd7327",
  44. "message": "Update Catalan translation to e38cb41.",
  45. "timestamp": "2011-12-12T14:27:31+02:00",
  46. "url": "http://example.com/mike/diaspora/commit/b6568db1bc1dcd7f8b4d5a946b0b91f9dacd7327",
  47. "author": {
  48. "name": "Jordi Mallach",
  49. "email": "jordi@softcatala.org"
  50. },
  51. "added": ["CHANGELOG"],
  52. "modified": ["app/controller/application.rb"],
  53. "removed": []
  54. },
  55. {
  56. "id": "da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
  57. "message": "fixed readme",
  58. "timestamp": "2012-01-03T23:36:29+02:00",
  59. "url": "http://example.com/mike/diaspora/commit/da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
  60. "author": {
  61. "name": "GitLab dev user",
  62. "email": "gitlabdev@dv6700.(none)"
  63. },
  64. "added": ["CHANGELOG"],
  65. "modified": ["app/controller/application.rb"],
  66. "removed": []
  67. }
  68. ],
  69. "total_commits_count": 4
  70. }
  71.  
  72. gitlabBranch
  73. gitlabSourceBranch
  74. gitlabActionType
  75. gitlabUserName
  76. gitlabUserEmail
  77. gitlabSourceRepoHomepage
  78. gitlabSourceRepoName
  79. gitlabSourceNamespace
  80. gitlabSourceRepoURL
  81. gitlabSourceRepoSshUrl
  82. gitlabSourceRepoHttpUrl
  83. gitlabMergeRequestTitle
  84. gitlabMergeRequestDescription
  85. gitlabMergeRequestId
  86. gitlabMergeRequestIid
  87. gitlabMergeRequestState
  88. gitlabMergedByUser
  89. gitlabMergeRequestAssignee
  90. gitlabMergeRequestLastCommit
  91. gitlabMergeRequestTargetProjectId
  92. gitlabTargetBranch
  93. gitlabTargetRepoName
  94. gitlabTargetNamespace
  95. gitlabTargetRepoSshUrl
  96. gitlabTargetRepoHttpUrl
  97. gitlabBefore
  98. gitlabAfter
  99. gitlabTriggerPhrase
  100.  
  101. params.MY_PARAM_NAME
  102. env.gitlabSourceRepoURL
Add Comment
Please, Sign In to add comment