Gitlab-plugin: Filter branches by name

Created on 28 Jan 2017  路  13Comments  路  Source: jenkinsci/gitlab-plugin

Issue

Context

  • Gitlab plugin version: 1.4.4
  • Gitlab version: 8.16.3
  • Jenkins version: 2.32.1-1.1
  • Job type: Filter branches by name

Problem description

how can use "Filter branches by name " by gitlab plugin on jenkins?
when i write " /master,/dev " on "Include" box,show me this massege :

Following patterns don't match any branch in source repository: */master, */dev

http://s1.picofile.com/file/8284122976/gitlab.png

how can determination branch ?

tnx

Most helpful comment

Just type the name without */ in filter by branch name

The warning stays but it works without problem

All 13 comments

hi
my problem is solved :)
in "Filter branches by name " box just must be write branch name whitout */
(master,dev)

@hos7ein i can't understand what you say, I got the same problem. I have tried /*(master) , (master), master. there are not work :(

@Pipikachu look at the below picture :
http://s9.picofile.com/file/8292321584/git_branch.png

I have the same issue here

Hi, I have the same issue,
please look here.
https://ibb.co/iuUk2F

don't worry @ehsanagh , it's okay and working :)

so it means that errors comes without any specific reason, am I right?

I'm using regex instead of this, that works fine.

Just type the name without */ in filter by branch name

The warning stays but it works without problem

Does any one knows how to filter by branch name using the plugin thought a jenkinsFIle ?

I have the same problem with you, I have no way to solve it锛孖'm using regex instead of this, that works fine.

I know... the regex can work. but it triggers tons of Jenkins-Slaves just because xD

Was this page helpful?
0 / 5 - 0 ratings