You can create a job that polls for the commit/push to the application
source repository. This job will then simply trigger the pipeline job.

On 11/10/16, 9:55 AM, "jenkinsci-users@googlegroups.com on behalf of Cory
Grubbs" <jenkinsci-users@googlegroups.com on behalf of
cagrubb...@gmail.com> wrote:

>As a managed service which utilizes Jenkins for CI builds, I have created
>a generic pipeline script which is used by all projects to build. The
>script reads in application specific property files which drives what
>gets executed within the pipeline.
> 
>The generic pipeline script and the application specific property files
>are stored within my github repository.
> 
>The problem I¹m running into is when trying to setup push CI events via
>webhooks on application source repositories. If there is a source
>commit/push on an application source repository, I want to trigger a
>build of the corresponding Jenkins pipeline project. Because there is no
>direct source configuration within the pipeline project, there doesn¹t
>seem to be a way for the webhook to associate where the commit took place
>with the given pipeline project and invoke a build.
> 
>I was hoping the ³GitHub project url² field would allow me to associate
>the pipeline project with the application source repo that the webhook
>should trigger builds on, but that doesn¹t seem to be the case.
> 
>Please assist with guidance on how this can be accomplished.
>
>Cory
>
>-- 
>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 jenkinsci-users+unsubscr...@googlegroups.com.
>To view this discussion on the web visit
>https://groups.google.com/d/msgid/jenkinsci-users/5768597b-012d-4466-b8c8-
>2431a1fd0f32%40googlegroups.com.
>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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/D44A1D04.5F9CA%25ingunawa%40cisco.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to