[JIRA] (JENKINS-50290) origin pr builds not treated as trusted

2 views
Skip to first unread message

szivos.john@gmail.com (JIRA)

unread,
Mar 20, 2018, 10:47:02 AM3/20/18
to jenkinsc...@googlegroups.com
John Szivós created an issue
 
Jenkins / Bug JENKINS-50290
origin pr builds not treated as trusted
Issue Type: Bug Bug
Assignee: Unassigned
Components: bitbucket-branch-source-plugin
Created: 2018-03-20 14:46
Labels: plugin jenkins
Priority: Major Major
Reporter: John Szivós

When building PRs from origin (not forks), their Jenkinsfile is not treated as trusted and loaded from the base branch instead:

Loading trusted files from base branch develop at 3ad383ee0eeffc92c9712dc8e3022c4b43a75c94 rather than 3e2b6e35cbf0fd2d4c029fcd23560f04b1976618

 

The problem was fixed in JENKINS-40652 but after several "refactorings" the problem seems to have reoccurred.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

kiessig.rene@gmx.de (JIRA)

unread,
Apr 19, 2018, 4:36:02 AM4/19/18
to jenkinsc...@googlegroups.com

f.modler@gmx.net (JIRA)

unread,
May 28, 2018, 11:36:02 AM5/28/18
to jenkinsc...@googlegroups.com

This is pretty much a blocker for us.

If someone could point me in the right direction I'd take a stab at this. I am lost somewhere between BitbucketSCMSource.getTrustedRevision(SCMRevision, TaskListener) and OriginChangeRequestSCMHeadAuthority.checkTrusted(SCMSourceRequest, ChangeRequestSCMHead2)...

f.modler@gmx.net (JIRA)

unread,
May 28, 2018, 11:41:01 AM5/28/18
to jenkinsc...@googlegroups.com
Falko Modler edited a comment on Bug JENKINS-50290
This is pretty much a blocker for us.

If someone ([~stephenconnolly] ?) could point me in the right direction I'd take a stab at this. I am lost somewhere between {{BitbucketSCMSource.getTrustedRevision(SCMRevision, TaskListener)}} and {{OriginChangeRequestSCMHeadAuthority.checkTrusted(SCMSourceRequest, ChangeRequestSCMHead2)}}...

andrew.bayer@gmail.com (JIRA)

unread,
Nov 19, 2018, 11:06:02 AM11/19/18
to jenkinsc...@googlegroups.com
Andrew Bayer updated an issue
 
Change By: Andrew Bayer
Labels: jenkins plugin triaged-2018-11
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

albertomassidda@aol.com (JIRA)

unread,
May 23, 2019, 8:03:02 PM5/23/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages