Re: Secure Jenkins and mutlibranch github pipeline trigger

2016-10-08 Thread Corey Wei
Hi Lionel, It's working once I added the following to Jenkinsfile : properties([pipelineTriggers([[$class: 'GitHubPushTrigger']])]) Thanks On Thursday, October 6, 2016 at 5:46:52 PM UTC+8, Lionel Orellana wrote: > > Hi Corey > > Unfortunately I don't have this server running anymore. I was just

Re: Secure Jenkins and mutlibranch github pipeline trigger

2016-10-06 Thread Lionel Orellana
Hi Corey Unfortunately I don't have this server running anymore. I was just using it to learn stuff. But I do remember that re-registering hooks worked straight away for me. Are you behind a firewall? I was running this on a cloud provider with direct access from the outside world (e.g. from gi

Re: Secure Jenkins and mutlibranch github pipeline trigger

2016-10-05 Thread Corey Wei
Hi Lionel, I just tested this on Jenkins 2.19.1. Looks like "Re-register hooks for all jobs" is not working for my multibranch job. Is there anything I am missing? Thanks On Monday, May 9, 2016 at 9:08:52 PM UTC+8, Lionel Orellana wrote: > > > Apologies for my rather disorganised thought proce

Re: Secure Jenkins and mutlibranch github pipeline trigger

2016-05-09 Thread Lionel Orellana
Apologies for my rather disorganised thought process in this thread. I just found the 'Re-register hooks for all jobs' in the global config (GitHub Servers Advanced options). That created the hooks correctly for me without any additional configuration in the multibranch job. Thanks. On Sat

Re: Secure Jenkins and mutlibranch github pipeline trigger

2016-05-06 Thread Lionel Orellana
Well seems like the solution would for the GitHub Plugin to support Multibranch pipelines 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. > >

Re: Secure Jenkins and mutlibranch github pipeline trigger

2016-05-06 Thread Lionel Orellana
Invoking without the branch name in the url triggers the indexing job of course. So it seems I need a different webhook per branch? On 7 May 2016 at 14:17, Lionel Orellana wrote: > Actually something's not quite right. > > Firstly, the configuration in the Multibranch project to "Trigger builds

Re: Secure Jenkins and mutlibranch github pipeline trigger

2016-05-06 Thread Lionel Orellana
Actually something's not quite right. Firstly, the configuration in the Multibranch project to "Trigger builds remotely" disappears after I save. Select the option, put a token, save and reopen. They are gone. Secondly, assuming the configuration is actually saved, the url to trigger the buil

Re: Secure Jenkins and mutlibranch github pipeline trigger

2016-05-06 Thread Lionel Orellana
Sorry found my answer. Nothing to do with pipeline. http://:@/job//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. > >