What's your job type (Pipeline, MultiBranch, etc) ? If you have created a MultiBranch/Bitbucket Team/Project or GitHub Organization job type, you should have this property in the job configuration. If your job is a simple Pipeline, you should have a "Poll SCM" property inside "Build Triggers" part of the configuration.
As far as I know, you don't need any extra plugin to enable this. 2017-03-05 9:42 GMT+01:00 <[email protected]>: > I cannot find the "Periodically if not otherwise run" under "Build > Triggers". > Which plugin do I need to install to enable this option? > > On Friday, March 3, 2017 at 6:05:12 PM UTC+2, mpapo - Michael Pailloncy > wrote: >> >> In the "Build Triggers" part inside your job configuration, you should >> have a "Periodically if not otherwise run" property. >> >> However, if you're able to configure webhooks on your SCM side to notify >> your master about new commits/branches and PR, it's a better approach : >> https://www.cloudbees.com/blog/polling-must-die-triggering >> -jenkins-builds-git-hook >> >> 2017-03-03 16:12 GMT+01:00 Limor Shemesh <[email protected]>: >> >>> Hi >>> I upgraded Jenkins to 2.4 and started migrate jobs to pipeline jobs. >>> I have created JenkinsFile and configure the job to search it in github >>> repo. >>> The job works great but I cannot find the way to add poll scm. >>> I want that the job will run on every push of the repo (master branch). >>> Please help. >>> Thanks. >>> >>> -- >>> 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/ms >>> gid/jenkinsci-users/60ee6556-433b-4718-9589-d6310fdf4a13% >>> 40googlegroups.com >>> <https://groups.google.com/d/msgid/jenkinsci-users/60ee6556-433b-4718-9589-d6310fdf4a13%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/8b82d24f-130d-44d9-a358-b292ef36840e%40googlegroups. > com > <https://groups.google.com/d/msgid/jenkinsci-users/8b82d24f-130d-44d9-a358-b292ef36840e%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/CAPO77c2_kugNeKYb_hYew8XorBqFMYZGQAPh7M7OQafHK20NXw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
