Hello, 

Sorry for late response. I tested the new release and it worked :) It's now 
using the SYSTEM user instead of anonymous.

upstreamPipeline (<upstream>, visibleByDownstreamBuildAuth: true),  
> downstreamPipeline (<downstream>, visibleByUpstreamBuildAuth: true), 
> upstreamBuildAuth: 
> org.acegisecurity.providers.UsernamePasswordAuthenticationToken@1f: 
> Username: SYSTEM; Password: [PROTECTED]; Authenticated: false; Details: 
> null; Not granted any authorities


isUpstreamBuildVisibleByDownstreamBuildAuth(upstreamPipeline: <upstream>, 
> downstreamPipeline: <>): downstreamPipelineAuth: 
> org.acegisecurity.providers.UsernamePasswordAuthenticationToken@1f: 
> Username: SYSTEM; Password: [PROTECTED]; Authenticated: false; Details: 
> null; Not granted any authorities, 
> upstreamPipelineObtainedAsImpersonated:org.jenkinsci.plugins.workflow.job.WorkflowJob@151406db[upstream
>  
> job], result: true


Thank you!


On Monday, August 5, 2019 at 3:10:49 AM UTC+9, Cyrille Le Clerc wrote:
>
> @drpm can you please verify that version 3.8.1 fixes your problem of 
> downstream pipelines not being triggered when using the Authorize Project 
> Plugin
>
>
> https://github.com/jenkinsci/pipeline-maven-plugin/releases/tag/pipeline-maven-3.8.1
>
> On Friday, August 2, 2019 at 4:04:26 PM UTC+2, Cyrille Le Clerc wrote:
>>
>> @drpm can you test 
>> https://github.com/jenkinsci/pipeline-maven-plugin/pull/224 ?
>>
>> @daniel could you kindly review the code of 
>> https://github.com/jenkinsci/pipeline-maven-plugin/pull/224 it is a 
>> simple change ?
>>
>> On Friday, August 2, 2019 at 12:12:01 PM UTC+2, Cyrille Le Clerc wrote:
>>>
>>> Thank you very much Daniel, I'll have a look
>>>
>>> On Friday, August 2, 2019 at 12:04:04 PM UTC+2, Daniel Beck wrote:
>>>>
>>>>
>>>>
>>>> > On 2. Aug 2019, at 11:49, Cyrille Le Clerc <[email protected]> 
>>>> wrote: 
>>>> > 
>>>> > Do you understand why the downstream pipeline is seen as 
>>>> unauthenticated? Could there be a configuration glitch on your setup? 
>>>> > 
>>>>
>>>> My guess, not having debugged this further: 
>>>>
>>>> Pipeline Maven Plugin seems to have copied code from 
>>>> ReverseBuildTrigger in core (see your code snippet, 'cf. BuildTrigger') 
>>>> that wasn't adapted to JENKINS-22949 in 
>>>> https://jenkins.io/changelog/#v2.62 
>>>>
>>>> See 
>>>> https://github.com/jenkinsci/jenkins/commit/915543dca5399d3ba052219ddfe9c3c061e70726
>>>>  
>>>> for the change -- there's no need to set the auth to ANONYMOUS anymore if 
>>>> it's SYSTEM otherwise. 
>>>>
>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/a4733407-258c-4524-b7aa-daa8cfc3c657%40googlegroups.com.

Reply via email to