Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 532034

Summary: authorizeGerritBuild.sh does not allow committers to retrigger builds after switching to Jenkins
Product: Community Reporter: Sam Davis <sam.davis>
Component: CI-JenkinsAssignee: CI Admin Inbox <ci.admin-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipse, mikael.barbero, webmaster
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:

Description Sam Davis CLA 2018-03-05 14:56:00 EST
When a committer retriggers a build started by a non-whitelisted contributor, authorizeGerritBuild.sh should allow the build to run, but since the switch to Jenkins it does not: https://ci.eclipse.org/mylyn/job/gerrit-mylyn-tasks/1838/
Comment 1 Mikaël Barbero CLA 2018-03-06 10:06:06 EST
Please give it another try. I've tweaked the script to take into account changes in Jenkins output.
Comment 2 Sam Davis CLA 2018-03-06 14:43:12 EST
Seems to be working now, thanks!
Comment 3 Mikaël Barbero CLA 2018-03-07 08:50:32 EST
closing
Comment 4 Frank Becker CLA 2018-03-24 06:10:07 EDT
Not working for me. Please see https://ci.eclipse.org/mylyn/job/gerrit-mylyn-builds/427/.

@Sam: Please try to retrigger the job. Maybe it is a problem with my account.
Comment 5 Mikaël Barbero CLA 2018-03-26 04:03:28 EDT
(In reply to Frank Becker from comment #4)
> Not working for me. Please see
> https://ci.eclipse.org/mylyn/job/gerrit-mylyn-builds/427/.
> 
> @Sam: Please try to retrigger the job. Maybe it is a problem with my account.

Per Foundation records, you're not a committer on mylyn.builds project but you're whitelisted, so the script should allow you to re-trigger the build. 

AFAICT, Jenkins tells us that the job has been retriggered by "eclipse@Frank-Becker.de" while you're whitelisted with the all lowercase email "eclipse@frank-becker.de". 

I've added some email normalization to the script. It should fix the issue. Please try again. Thanks.
Comment 6 Frank Becker CLA 2018-03-26 11:47:02 EDT
(In reply to Mikaël Barbero from comment #5)
> (In reply to Frank Becker from comment #4)
> > Not working for me. Please see
> > https://ci.eclipse.org/mylyn/job/gerrit-mylyn-builds/427/.
> > 
> > @Sam: Please try to retrigger the job. Maybe it is a problem with my account.
> 
> Per Foundation records, you're not a committer on mylyn.builds project but
> you're whitelisted, so the script should allow you to re-trigger the build. 
> 
> AFAICT, Jenkins tells us that the job has been retriggered by
> "eclipse@Frank-Becker.de" while you're whitelisted with the all lowercase
> email "eclipse@frank-becker.de". 
> 
> I've added some email normalization to the script. It should fix the issue.
> Please try again. Thanks.

Yes now I can retriever the Job. See https://ci.eclipse.org/mylyn/job/gerrit-mylyn-builds/428. 

Thanks

Frank