Skip to content

Commit

Permalink
set default refspec for verify builds to support cross-repo PRs
Browse files Browse the repository at this point in the history
forward-ported fb78c98
  • Loading branch information
tcc-jenkins authored and terabyte committed Nov 17, 2015
1 parent 4ba6ea9 commit c666797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/jenkins-verify-job.vm
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<hudson.plugins.git.UserRemoteConfig>
<url>$esc.xml($repositoryUrl)</url>
<name>origin</name>
<refspec></refspec>
<refspec>+refs/pull-requests/*:refs/remotes/origin/pull-requests/* +refs/heads/*:refs/remotes/origin/*</refspec>
#if ( $credentialUUID )
<credentialsId>$credentialUUID</credentialsId>
#end
Expand Down

0 comments on commit c666797

Please sign in to comment.