# Use repository ONLY to trigger

**URL:** https://www.finalbuilder.com/forums/t/use-repository-only-to-trigger/5493
**Category:** Discussion
**Created:** [July 20, 2016, 9:29am UTC](https://www.finalbuilder.com/forums/t/use-repository-only-to-trigger/5493 "2016-07-20T09:29:26Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ebuljan](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/e/9de053/32.png) [@ebuljan](https://www.finalbuilder.com/forums/u/ebuljan)
#### Post date: [July 20, 2016, 9:29am UTC](https://www.finalbuilder.com/forums/t/use-repository-only-to-trigger/5493/1 "2016-07-20T09:29:26Z")

</div>

I need to use our TFS repository to trigger a build if a change was checked in, but NOT to get the latest from TFS.  
  
Is there a way to do this?

---

<div class="post-metadata">

### Author: ![ebuljan](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/e/9de053/32.png) [@ebuljan](https://www.finalbuilder.com/forums/u/ebuljan)
#### Post date: [July 20, 2016, 9:45am UTC](https://www.finalbuilder.com/forums/t/use-repository-only-to-trigger/5493/2 "2016-07-20T09:45:27Z")

</div>

Thinking the right approach is to comment out this line in the Workspace rules:   
  
 $Source$ \> Source

---

<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: [July 21, 2016, 3:53am UTC](https://www.finalbuilder.com/forums/t/use-repository-only-to-trigger/5493/3 "2016-07-21T03:53:09Z")

</div>

Hi,  
  
Commenting out “$Source$ \> Source” from the Repository Rules will prevent the repository files from being copied to the agent at the start of the build stage.&nbsp;  
  
Note that the files will still be checked out to the repository cache on the server when the repository is polled and a new changeset is detected. There is currently no way to stop the files being checked out on the server.&nbsp;  
  
We could however add this as an option in the future - what scenario do you need this for?

---

<div class="post-metadata">

### Author: ![ebuljan](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/e/9de053/32.png) [@ebuljan](https://www.finalbuilder.com/forums/u/ebuljan)
#### Post date: [July 21, 2016, 5:30am UTC](https://www.finalbuilder.com/forums/t/use-repository-only-to-trigger/5493/4 "2016-07-21T05:30:10Z")

</div>

Thanks, modifying the Repository Rules did what I needed.   
  
 The check out on the server is not a problem.   
  
 Our scenario is that we are using Continua to wrap a FinalBuild script that can also be manually run by devs. The script already does checkouts, gets, checkins, etc… So it would be redundant to have Continua duplicate that work.
