Sorry found my answer. Nothing to do with pipeline. 

http://<user>:<user token>@<jenkins_url>/job/<job name>/build?token=job 
token

On Saturday, 7 May 2016 12:29:22 UTC+10, Lionel Orellana wrote:
>
> Hi All
>
> How can I trigger a build on a multibranch pipeline where there is a push 
> in github and Jenkins requires authentication.
>
> I tried "Trigger builds remotely (e.g., from scripts)" but the token 
> generated here isn't enough for a github webhook to authenticate with 
> Jenkins.  Github throws "Authentication required". This is using  a 
> webhook like <jenkins_url>/job/<job name>/build?token=some token  where 
> the token matches what's in the "Trigger builds remotely" configuration.
>
> Thanks
>
> Lionel.
>
>  
>

-- 
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/55283fad-2948-47f8-8938-e33951d7c94a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to