Squirrel
Squirrel

Reputation: 1523

Scan Multibranch Pipeline Triggers in Jenkinsfile

Is it possible to have this section from the Jenkins UI into a Jenkinsfile instead?

Scan Multibranch Pipeline Triggers

Upvotes: 2

Views: 1541

Answers (1)

sai
sai

Reputation: 450

You can use pollSCM trigger.

Eg: triggers { pollSCM('H */4 * * 1-5') }

Doc: https://jenkins.io/doc/book/pipeline/syntax/

Upvotes: 2

Related Questions