Sorry, it's possible with Pipeline:

*Polling is supported across multiple SCMs (changes in one or more will 
trigger a new build), and again is done according to the SCMs used in the 
last build of the pipeline.*

You'll have to run it once manually for listening to SCM changes.

More information: 

Best regards,

El jueves, 13 de octubre de 2016, 22:56:16 (UTC+2), Rachel escribió:
> Hi,
> In your case, I would have two separated Jenkins jobs, but sharing the 
> same workspace:
>    - Advanced Project Options > Use custom workspace 
> I hope be useful.
> Best regards,
> Rachel
> El miércoles, 12 de octubre de 2016, 2:47:08 (UTC+2), taroc...@gmail.com 
> escribió:
>> Is it possible to poll for changes from both svn and git repositories 
>> from within a pipeline job? In Jenkins, pipeline scm configuration is tied 
>> to a particular scm type (due to a radio button), but I would like to poll 
>> both svn and git at the same time. As a result of the poll detecting an scm 
>> change, I want to invoke only one build.
>> As a workaround, maybe I need to have two separate Jenkins jobs? 

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 
For more options, visit https://groups.google.com/d/optout.

Reply via email to