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
使用Jenkins中的管道语法代码段生成器,我得出以下结论:
checkout poll: false, scm: [$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[]]]
I guess this is a known issue. https://issues.jenkins-ci.org/browse/JENKINS-38508
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.