ghprb icon indicating copy to clipboard operation
ghprb copied to clipboard

Multiple candidate revisions on every build

Open mjgorman opened this issue 8 years ago • 3 comments

 > /usr/bin/git -c core.askpass=true fetch --tags --progress [email protected]:tuitionio/v3.tuition.io.git +refs/pull/*:refs/remotes/origin/pr/*

<Trimmed down start>
Seen branch in repository origin/pr/400/head
Seen branch in repository origin/pr/400/merge
Seen branch in repository origin/pr/401/head
Seen branch in repository origin/pr/401/merge
Seen branch in repository origin/pr/402/head
Seen branch in repository origin/pr/402/merge
Seen branch in repository origin/pr/403/head
Seen branch in repository origin/pr/403/merge
Seen branch in repository origin/pr/404/head
Seen branch in repository origin/pr/404/merge
Seen branch in repository origin/pr/405/head
Seen branch in repository origin/pr/405/merge
<Trimmed down stop>
Seen 655 remote branches
Multiple candidate revisions
Scheduling another build to catch up with Build_Review

Not sure what is causing this. I've seen it reported 1 other place and their problem was someone pushed a branch with origin/ as the name so it matched and caused this issue.

I can't seem to find anything like that in my setup. This started recently after updating. Any tips would help, affects multiple projects in different repositories. for

Config:

git: 
  refspec:+refs/pull/*:refs/remotes/origin/pr/*
  branch: ${sha1}
build triggers: 
  githubprb:
    whitelist target branches: release-next
    Build every PR

mjgorman avatar Jun 06 '16 18:06 mjgorman

Do you have the option Use github hooks for build triggering enabled? Do you have any other build triggers configured?

cbankston avatar Jun 06 '16 20:06 cbankston

Negative on hooks, using CRON to check as my Jenkins isn't exposed to the public internet.

mjgorman avatar Jun 06 '16 21:06 mjgorman

did you see this: https://issues.jenkins-ci.org/browse/JENKINS-21464?focusedCommentId=250183&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-250183

ariel-gro avatar Mar 26 '17 06:03 ariel-gro