title: How to enable SCM polling with the Jenkins Pipeline plugin
body: <p>This is a question related to <a href="https://stackoverflow.com/questions/31123759/how-to-make-scm-polling-work-with-the-jenkins-workflow-plugin">How to make SCM polling work with the Jenkins Workflow plugin</a>. That thread answers how to use SCM polling in a pipeline script <strong>once</strong> SCM polling is enabled but does not cover how to <strong>enable</strong> SCM polling.</p>
  
  <p>For example, if you wanted to use the <a href="https://jenkins-ci.org/blog/2015/12/03/pipeline-as-code-with-multibranch-workflows-in-jenkins/" rel="noreferrer">mulit-branch pipeline plugin</a> to create jobs automatically using a Jenkinsfile there is not a way I know of to have the "Poll SCM" option enabled in the job.  This makes it difficult to provision on-demand environments such as creating a docker container that has the jobs setup from the beginning.  Because you would have to sign-in to Jenkins and go to the configuration and select the "Poll SCM" option once the container was started.  Cloudbees offers a <a href="https://cloudbees.zendesk.com/hc/en-us/articles/205028534-How-do-I-configure-SCM-Polling-in-a-Pipeline-Template-?input_string=SCM%20Polling%20for%20Pipeline%20script" rel="noreferrer">template plugin</a> to help solve this problem.</p>
  
  <p>However this is not available to Jenkins using the free version.  Is there any workaround or solution for users on the free version of Jenkins?</p>