Pavel Bernshtam
Pavel Bernshtam

Reputation: 4444

Jenkins git plugin: specify list of branches

In Jenkins UI I can specify using regular expression, which branches to poll in this job.

But I need to poll a list of concrete branches, i.e.

develop, feature1, feature2

Is it possible?

Upvotes: 0

Views: 564

Answers (1)

Joao  Vitorino
Joao Vitorino

Reputation: 3266

In git parameter add a regex in Branch filter.

(develop|feature1|feature2)

enter image description here

Git parameter plugin docs

Upvotes: 1

Related Questions