I guess this is due to SECURITY-201 (
https://jenkins.io/security/advisory/2017-07-10/) but now I'm not quite
sure how to accomplish what I want. How can I allow the projects to be
triggered as downstream builds of a remotely-triggered build, without
allowing anonymous users to trigger them directly?

--
Regards,
Daniel Lo Nigro
http://dan.cx/ | http://twitter.com/Daniel15

On Thu, Sep 7, 2017 at 9:44 AM, Daniel Lo Nigro <[email protected]> wrote:

> Hi!
>
> I have a job that has the "*Trigger builds remotely (e.g., from scripts)*"
> option enabled. Within that job, I use "*Trigger parameterized build on
> other projects*" to kick off some other jobs. This used to work fine.
> Now, the initial job works fine, but I'm getting these errors at the end:
>
> Warning: this build has no associated authentication, so build permissions
> may be lacking, and downstream projects which cannot even be seen by an
> anonymous user will be silently skipped
> ERROR: Cannot schedule the build of FirstOtherJob from InitialJob #25. The
> authenticated build user anonymous has no Job.BUILD permission
> ERROR: Cannot schedule the build of SecondOtherJob from InitialJob #25.
> The authenticated build user anonymous has no Job.BUILD permission
>
> The configuration I want is:
>
>    - Authenticated users can build any of the jobs
>    - Anonymous users can view the job status but *can not* build the jobs
>    - Scripts that trigger the build remotely can build the initial job
>    *and* as a result, build the other jobs too
>
> The first two points are working fine, it's the third point that I'm
> having difficulties with.
>
> Any suggestions?
>
> Thanks!
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/jenkinsci-users/SQkXNQ2zO7s/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-users/d066a8e6-3eda-4b5a-830c-f49328918f7e%40googlegroups.
> com
> <https://groups.google.com/d/msgid/jenkinsci-users/d066a8e6-3eda-4b5a-830c-f49328918f7e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAB1r_%2BV8AE71ZgG94YDmd_aagp%2BbnxRqG1WrwOdWrtCJwgPc7Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to