# Not working repository exclude rule

**URL:** https://www.finalbuilder.com/forums/t/not-working-repository-exclude-rule/6059
**Category:** Bugs
**Created:** [September 23, 2016, 4:15am UTC](https://www.finalbuilder.com/forums/t/not-working-repository-exclude-rule/6059 "2016-09-23T04:15:55Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![rynardald](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/a88e57/32.png) [@rynardald](https://www.finalbuilder.com/forums/u/rynardald)
#### Post date: [September 23, 2016, 4:15am UTC](https://www.finalbuilder.com/forums/t/not-working-repository-exclude-rule/6059/1 "2016-09-23T04:15:55Z")

</div>

Hi,  
I have created the DUnitX-Project from the ContinuaCI Tutorial. Now I want to create a repository exclude rule. But if i build the configuration the excluded directory is still there.  
Here is my rule:  
  
$Source$ \> Source  
- $Source.DUnitX-Repo$\Images\*\* \> Source\DUnitX-Repo  
  
Please can someone tell me what’s my error in this rule …  
or is it a bug?

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [September 27, 2016, 3:48am UTC](https://www.finalbuilder.com/forums/t/not-working-repository-exclude-rule/6059/2 "2016-09-27T03:48:00Z")

</div>

Hi,  
  
We can confirm this is a bug when using the include all sources rule - thank you for reporting it. You can work around this by specifying individual repositories in the include rule. e.g.  
  
$Source.DUnitX-Repo$ \> Source\<span style=“background-color: #ffffff;”\>DUnitX-Repo  
- $Source.DUnitX-Repo$\Images\*\* \> Source\DUnitX-Repo  
  
We’ll get this fixed up and get a new version out in the next couple of days.

---

<div class="post-metadata">

### Author: ![rynardald](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/a88e57/32.png) [@rynardald](https://www.finalbuilder.com/forums/u/rynardald)
#### Post date: [September 29, 2016, 9:20am UTC](https://www.finalbuilder.com/forums/t/not-working-repository-exclude-rule/6059/3 "2016-09-29T09:20:26Z")

</div>

Thanks, i see the bug was fixed in version 1.8.1.108
