gitlab-plugin icon indicating copy to clipboard operation
gitlab-plugin copied to clipboard

Filter branches by name

Open hos7ein opened this issue 9 years ago • 13 comments

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

hos7ein avatar Jan 28 '17 10:01 hos7ein

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

hos7ein avatar Jan 30 '17 13:01 hos7ein

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

nerffei avatar Mar 28 '17 04:03 nerffei

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

hos7ein avatar Apr 17 '17 11:04 hos7ein

I have the same issue here

ethyaan avatar Aug 12 '17 09:08 ethyaan

hi @ehsanagh look at this link : http://s9.picofile.com/file/8292321584/git_branch.png

hos7ein avatar Aug 12 '17 12:08 hos7ein

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

ethyaan avatar Aug 12 '17 12:08 ethyaan

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

hos7ein avatar Aug 12 '17 13:08 hos7ein

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

ethyaan avatar Aug 12 '17 17:08 ethyaan

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

ethyaan avatar Aug 12 '17 17:08 ethyaan

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

The warning stays but it works without problem

dayanstef avatar Jan 15 '18 14:01 dayanstef

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

aemonge avatar May 29 '19 08:05 aemonge

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

feengqi avatar Sep 04 '19 11:09 feengqi

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

aemonge avatar Sep 04 '19 14:09 aemonge