{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/pulls/comments/45040031","id":45040031,"diff_hunk":"@@ -67,13 +73,13 @@ public void checkAndFire(DeploymentFacet facet) {\n                         if (b!=null) {\n                             // pass all the current parameters if we can\n                             ParametersAction action = b.getAction(ParametersAction.class);\n-                            job.scheduleBuild(job.getQuietPeriod(), new UpstreamDeploymentCause(b), action);\n+                            parameterizedJobMixIn.scheduleBuild2(5, action);","path":"src/main/java/org/jenkinsci/plugins/deployment/DeploymentTrigger.java","position":47,"original_position":43,"commit_id":"2a7d028c70488e5c59794d6721d65f765e9c8778","original_commit_id":"73d5208d097ccb63350a6c659dbb32d25153ce4f","user":{"login":"fbelzunc","id":3898648,"avatar_url":"https://avatars.githubusercontent.com/u/3898648?v=3","gravatar_id":"","url":"https://api.github.com/users/fbelzunc","html_url":"https://github.com/fbelzunc","followers_url":"https://api.github.com/users/fbelzunc/followers","following_url":"https://api.github.com/users/fbelzunc/following{/other_user}","gists_url":"https://api.github.com/users/fbelzunc/gists{/gist_id}","starred_url":"https://api.github.com/users/fbelzunc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbelzunc/subscriptions","organizations_url":"https://api.github.com/users/fbelzunc/orgs","repos_url":"https://api.github.com/users/fbelzunc/repos","events_url":"https://api.github.com/users/fbelzunc/events{/privacy}","received_events_url":"https://api.github.com/users/fbelzunc/received_events","type":"User","site_admin":false},"body":"Right, but `scheduleBuild2` doesn't allow you to add the `Cause`.\r\n\r\nhttp://javadoc.jenkins-ci.org/jenkins/model/ParameterizedJobMixIn.html\r\n\r\n@amuniz @jglick Any suggestions?","created_at":"2015-11-17T09:55:13Z","updated_at":"2015-11-17T09:55:13Z","html_url":"https://github.com/jenkinsci/deployment-notification-plugin/pull/3#discussion_r45040031","pull_request_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/pulls/comments/45040031"},"html":{"href":"https://github.com/jenkinsci/deployment-notification-plugin/pull/3#discussion_r45040031"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/pulls/3","id":50622064,"html_url":"https://github.com/jenkinsci/deployment-notification-plugin/pull/3","diff_url":"https://github.com/jenkinsci/deployment-notification-plugin/pull/3.diff","patch_url":"https://github.com/jenkinsci/deployment-notification-plugin/pull/3.patch","issue_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/issues/3","number":3,"state":"open","locked":false,"title":"[PARTIALLY FIXED JENKINS-28632] Integration with Workflow","user":{"login":"fbelzunc","id":3898648,"avatar_url":"https://avatars.githubusercontent.com/u/3898648?v=3","gravatar_id":"","url":"https://api.github.com/users/fbelzunc","html_url":"https://github.com/fbelzunc","followers_url":"https://api.github.com/users/fbelzunc/followers","following_url":"https://api.github.com/users/fbelzunc/following{/other_user}","gists_url":"https://api.github.com/users/fbelzunc/gists{/gist_id}","starred_url":"https://api.github.com/users/fbelzunc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbelzunc/subscriptions","organizations_url":"https://api.github.com/users/fbelzunc/orgs","repos_url":"https://api.github.com/users/fbelzunc/repos","events_url":"https://api.github.com/users/fbelzunc/events{/privacy}","received_events_url":"https://api.github.com/users/fbelzunc/received_events","type":"User","site_admin":false},"body":"This pull request partially integrates `deployment-notification-plugin` with `Workflow` plugin.\r\n\r\nI will create a `awaitDeployment ` step on a future pull request. For this moment, I am only interested on the trigger integration.\r\n\r\nhttps://issues.jenkins-ci.org/browse/JENKINS-28632\r\n\r\n@reviewbybees @jglick","created_at":"2015-11-13T09:53:05Z","updated_at":"2015-11-17T09:55:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d2c656e4473a55b05ae16d4e17f037ac42382e58","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/pulls/3/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/pulls/3/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/issues/3/comments","statuses_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/statuses/2a7d028c70488e5c59794d6721d65f765e9c8778","head":{"label":"fbelzunc:JENKINS-28632","ref":"JENKINS-28632","sha":"2a7d028c70488e5c59794d6721d65f765e9c8778","user":{"login":"fbelzunc","id":3898648,"avatar_url":"https://avatars.githubusercontent.com/u/3898648?v=3","gravatar_id":"","url":"https://api.github.com/users/fbelzunc","html_url":"https://github.com/fbelzunc","followers_url":"https://api.github.com/users/fbelzunc/followers","following_url":"https://api.github.com/users/fbelzunc/following{/other_user}","gists_url":"https://api.github.com/users/fbelzunc/gists{/gist_id}","starred_url":"https://api.github.com/users/fbelzunc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbelzunc/subscriptions","organizations_url":"https://api.github.com/users/fbelzunc/orgs","repos_url":"https://api.github.com/users/fbelzunc/repos","events_url":"https://api.github.com/users/fbelzunc/events{/privacy}","received_events_url":"https://api.github.com/users/fbelzunc/received_events","type":"User","site_admin":false},"repo":{"id":25810673,"name":"deployment-notification-plugin","full_name":"fbelzunc/deployment-notification-plugin","owner":{"login":"fbelzunc","id":3898648,"avatar_url":"https://avatars.githubusercontent.com/u/3898648?v=3","gravatar_id":"","url":"https://api.github.com/users/fbelzunc","html_url":"https://github.com/fbelzunc","followers_url":"https://api.github.com/users/fbelzunc/followers","following_url":"https://api.github.com/users/fbelzunc/following{/other_user}","gists_url":"https://api.github.com/users/fbelzunc/gists{/gist_id}","starred_url":"https://api.github.com/users/fbelzunc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbelzunc/subscriptions","organizations_url":"https://api.github.com/users/fbelzunc/orgs","repos_url":"https://api.github.com/users/fbelzunc/repos","events_url":"https://api.github.com/users/fbelzunc/events{/privacy}","received_events_url":"https://api.github.com/users/fbelzunc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fbelzunc/deployment-notification-plugin","description":"","fork":true,"url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin","forks_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/forks","keys_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/teams","hooks_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/hooks","issue_events_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/events","assignees_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/tags","blobs_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/languages","stargazers_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/stargazers","contributors_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/contributors","subscribers_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/subscribers","subscription_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/subscription","commits_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/merges","archive_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/downloads","issues_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/labels{/name}","releases_url":"https://api.github.com/repos/fbelzunc/deployment-notification-plugin/releases{/id}","created_at":"2014-10-27T08:55:26Z","updated_at":"2015-11-10T07:38:45Z","pushed_at":"2015-11-16T19:12:45Z","git_url":"git://github.com/fbelzunc/deployment-notification-plugin.git","ssh_url":"git@github.com:fbelzunc/deployment-notification-plugin.git","clone_url":"https://github.com/fbelzunc/deployment-notification-plugin.git","svn_url":"https://github.com/fbelzunc/deployment-notification-plugin","homepage":"","size":88,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jenkinsci:master","ref":"master","sha":"591a02d924d4a9e28cdaa2b32d611543fd2f3380","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"repo":{"id":16439001,"name":"deployment-notification-plugin","full_name":"jenkinsci/deployment-notification-plugin","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jenkinsci/deployment-notification-plugin","description":"","fork":false,"url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin","forks_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/releases{/id}","created_at":"2014-02-01T17:48:29Z","updated_at":"2015-10-08T15:36:14Z","pushed_at":"2015-11-16T19:12:45Z","git_url":"git://github.com/jenkinsci/deployment-notification-plugin.git","ssh_url":"git@github.com:jenkinsci/deployment-notification-plugin.git","clone_url":"https://github.com/jenkinsci/deployment-notification-plugin.git","svn_url":"https://github.com/jenkinsci/deployment-notification-plugin","homepage":"","size":346,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/pulls/3"},"html":{"href":"https://github.com/jenkinsci/deployment-notification-plugin/pull/3"},"issue":{"href":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/issues/3"},"comments":{"href":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/deployment-notification-plugin/statuses/2a7d028c70488e5c59794d6721d65f765e9c8778"}}}}