app/cyclid/plugins/api/github/push.rb in cyclid-0.2.5 vs app/cyclid/plugins/api/github/push.rb in cyclid-0.3.0
- old
+ new
@@ -95,13 +95,13 @@
ui_url = github_config[:ui_url]
linkback_url = "#{ui_url}/#{organization_name}"
# Inject some useful context data
- ctx = { gh_event: 'push',
- gh_user: @payload['sender']['login'],
- gh_ref: push_ref,
- gh_comment: push_head_commit['message'] }
+ ctx = { github_event: 'push',
+ github_user: @payload['sender']['login'],
+ github_ref: push_ref,
+ github_comment: push_head_commit['message'] }
callback = GithubCallback.new(auth_token, push_repository, push_sha, linkback_url)
job_from_definition(job_definition, callback, ctx)
rescue StandardError
@client.create_status(push_repository, push_sha, 'error',