{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues/418","repository_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin","labels_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues/418/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues/418/comments","events_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues/418/events","html_url":"https://github.com/jenkinsci/ghprb-plugin/issues/418","id":178943107,"number":418,"title":"ghprb fails to build after forced push to branch of a PR","user":{"login":"feliperoos","id":7209562,"avatar_url":"https://avatars.githubusercontent.com/u/7209562?v=3","gravatar_id":"","url":"https://api.github.com/users/feliperoos","html_url":"https://github.com/feliperoos","followers_url":"https://api.github.com/users/feliperoos/followers","following_url":"https://api.github.com/users/feliperoos/following{/other_user}","gists_url":"https://api.github.com/users/feliperoos/gists{/gist_id}","starred_url":"https://api.github.com/users/feliperoos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feliperoos/subscriptions","organizations_url":"https://api.github.com/users/feliperoos/orgs","repos_url":"https://api.github.com/users/feliperoos/repos","events_url":"https://api.github.com/users/feliperoos/events{/privacy}","received_events_url":"https://api.github.com/users/feliperoos/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-23T18:27:33Z","updated_at":"2016-09-30T00:14:58Z","closed_at":"2016-09-30T00:14:58Z","body":"Hi,\r\n\r\nI've rebase master into a branch and ended up having to force push the branch to get the update going. The PR on github for that branch was ok with that, but ghprb failed to build after I've done it. I've tried to close the PR and create a new one from the branch, still have the same error.\r\n\r\nThanks in advange for any support on this.\r\n\r\nGitHub pull request #122 of commit d18bd52eef5157cad8a8fcd0cef8127b5a95ad64, no merge conflicts.\r\nSetting status of d18bd52eef5157cad8a8fcd0cef8127b5a95ad64 to PENDING with url <REMOVED>/397/ and message: 'Build started sha1 is merged.'\r\nBuilding on master in workspace /data/jenkins/jenkins/jobs/<REMOVED>/workspace\r\n > git rev-parse --is-inside-work-tree # timeout=10\r\nFetching changes from the remote Git repository\r\n > git config remote.origin.url git@<REMOVED>.git # timeout=10\r\nFetching upstream changes from git@<REMOVED>.git\r\n > git --version # timeout=10\r\n > git fetch --tags --progress git@<REMOVED>.git +refs/pull/*:refs/remotes/origin/pr/*\r\n > git rev-parse refs/remotes/origin/pr/122/merge^{commit} # timeout=10\r\n > git rev-parse refs/remotes/origin/origin/pr/122/merge^{commit} # timeout=10\r\nMerging Revision d3b22ee42ef3535da5e92cda7721e4e1c7a79acf (refs/remotes/origin/pr/122/merge) to origin/master, UserMergeOptions{mergeRemote='origin', mergeTarget='master', mergeStrategy='default', fastForwardMode='--ff'}\r\n > git rev-parse origin/master^{commit} # timeout=10\r\nFATAL: Command \"git rev-parse origin/master^{commit}\" returned status code 128:\r\nstdout: origin/master^{commit}\r\n\r\nstderr: fatal: ambiguous argument 'origin/master^{commit}': unknown revision or path not in the working tree.\r\nUse '--' to separate paths from revisions, like this:\r\n'git <command> [<revision>...] -- [<file>...]'\r\n\r\nhudson.plugins.git.GitException: Command \"git rev-parse origin/master^{commit}\" returned status code 128:\r\nstdout: origin/master^{commit}\r\n\r\nstderr: fatal: ambiguous argument 'origin/master^{commit}': unknown revision or path not in the working tree.\r\nUse '--' to separate paths from revisions, like this:\r\n'git <command> [<revision>...] -- [<file>...]'\r\n\r\n\tat org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1752)\r\n\tat org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1725)\r\n\tat org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1721)\r\n\tat org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1391)\r\n\tat org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1403)\r\n\tat org.jenkinsci.plugins.gitclient.CliGitAPIImpl.revParse(CliGitAPIImpl.java:685)\r\n\tat hudson.plugins.git.GitAPI.revParse(GitAPI.java:316)\r\n\tat hudson.plugins.git.extensions.impl.PreBuildMerge.decorateRevisionToBuild(PreBuildMerge.java:64)\r\n\tat hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:994)\r\n\tat hudson.plugins.git.GitSCM.checkout(GitSCM.java:1083)\r\n\tat hudson.scm.SCM.checkout(SCM.java:495)\r\n\tat hudson.model.AbstractProject.checkout(AbstractProject.java:1278)\r\n\tat hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)\r\n\tat jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)\r\n\tat hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)\r\n\tat hudson.model.Run.execute(Run.java:1720)\r\n\tat hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)\r\n\tat hudson.model.ResourceController.execute(ResourceController.java:98)\r\n\tat hudson.model.Executor.run(Executor.java:404)\r\nSkipping Cobertura coverage report as build was not UNSTABLE or better ...\r\nStarted calculate disk usage of build\r\nFinished Calculation of disk usage of build in 0 seconds\r\nStarted calculate disk usage of workspace\r\nFinished Calculation of disk usage of workspace in 0 seconds\r\nSetting status of d18bd52eef5157cad8a8fcd0cef8127b5a95ad64 to FAILURE with url <REMOVED>/397/ and message: 'Build finished. '"},"comment":{"url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues/comments/250627499","html_url":"https://github.com/jenkinsci/ghprb-plugin/issues/418#issuecomment-250627499","issue_url":"https://api.github.com/repos/jenkinsci/ghprb-plugin/issues/418","id":250627499,"user":{"login":"benpatterson","id":2004678,"avatar_url":"https://avatars.githubusercontent.com/u/2004678?v=3","gravatar_id":"","url":"https://api.github.com/users/benpatterson","html_url":"https://github.com/benpatterson","followers_url":"https://api.github.com/users/benpatterson/followers","following_url":"https://api.github.com/users/benpatterson/following{/other_user}","gists_url":"https://api.github.com/users/benpatterson/gists{/gist_id}","starred_url":"https://api.github.com/users/benpatterson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benpatterson/subscriptions","organizations_url":"https://api.github.com/users/benpatterson/orgs","repos_url":"https://api.github.com/users/benpatterson/repos","events_url":"https://api.github.com/users/benpatterson/events{/privacy}","received_events_url":"https://api.github.com/users/benpatterson/received_events","type":"User","site_admin":false},"created_at":"2016-09-30T00:14:58Z","updated_at":"2016-09-30T00:14:58Z","body":"Looks like #414 "}}
{"actor":{"display_login":"benpatterson"}}