I have a Jenkinsfile pipeline configured and a multibranch pipeline pointed to a git repository, (A). In the same Jenkinsfile I pull down code from git repository, (B) to perform some independent steps.
I would like to have jenkins poll the A repo - and whenever it finds a change - build it. This is working.
However, it is also polling repo B. Whenever a change occurs in repo B (which is often) it picks up the change and starts a build.
How can I turn off polling from for this other repo? Thanks