# Build 1870 - Repo polling

**URL:** https://www.finalbuilder.com/forums/t/build-1870-repo-polling/5810
**Category:** Bugs
**Created:** [April 15, 2013, 1:45am UTC](https://www.finalbuilder.com/forums/t/build-1870-repo-polling/5810 "2013-04-15T01:45:51Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Jenasys](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/jenasys/32/888_2.png) [@Jenasys](https://www.finalbuilder.com/forums/u/Jenasys)
#### Post date: [April 15, 2013, 1:45am UTC](https://www.finalbuilder.com/forums/t/build-1870-repo-polling/5810/1 "2013-04-15T01:45:51Z")

</div>

I've got an interesting scenario here, and I'm willing to suggest a PEBCAK. I do apologise for the long winded explanations, but I think a number of&nbsp;logic issues are&nbsp;coming into&nbsp;play.&nbsp;

### Repository

HG\Bibucket

Poll Freq: 5 min

Timeout: 60m

### UX Process

I setup a continua project and configuration for a project that I needed to run unit tests against.

I setup all the usual steps, and ran the first manual test 1.0.0.0. It runs against the changeset I've highlighted in the orange box.

Reviewed the 1.0.0.0 failures, so I started look at why. I hadn't push local files from my workstation to HG, so I pushed them, then continue coding.

Again, forget to push from workstation to Bitbucket, I manually run build 1.0.0.1.

Reviewed the 1.0.0.1 failures, determined multiple build issues 1) Nuget packages folder was not committed to HG, so added the folder and pushed to Bitbucket (610) files. 2) A CodeSmith Generator MSBuild component is required for the VS Action to pass.

Purposely didn't manually trigger Continua build, because change sets were flowing to the project (see screen shot)

Still reviewing the error log, discovered a workstation agent was not using in v1870 of continua, so I installed it and confirmed the agent found CodeSmith MSBuild components installed.

I updated the first stage to include agent requirements $Agent.CodeSmith.Installed$ Exists, forcing the build to use the workstation agent. Confirmed the project configuration would run on the Workstation with CodeSmith installed.

### Result

As you can see, nothing in the BUILD Queue!, despite lots of&nbsp;code changes&nbsp;since the last manual build. (everything is enabled).

So I change the Repository&nbsp;TimeOut to&nbsp;5 minutes and check the server repositories and watch it "check for changes", still nothing. In past builds of continua, call changes would trigger a build being added to the queue, but this time it hasn't queue any of the new changesets (3-7 changeset&nbsp;Id's, by my count, depending on my assumptions for repo polling frequency). See Purple boxes and arrows.

While reviewing the various views I notice that the&nbsp; **Column TITLE&nbsp;"Changes"** &nbsp;on Activity View (top)&nbsp;is used in a different way to the Changes view(bottom). (Green box -\> Red Box??? and highlighted in yellow). I found it hard to determine which changeset was used in the build 1.0.0.0/1, view without drilling down/up through these views to match the "Commit Message". I just wonder if referencing the changset ID&nbsp;or matching the number of files changed might be easier. Or alternatively, modify the Changes View to include any matching $Build.Version$ references, helping the poor developer to find the CI issue.

&nbsp;Attachment unavailable

---

<div class="post-metadata">

### Author: ![Jenasys](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/jenasys/32/888_2.png) [@Jenasys](https://www.finalbuilder.com/forums/u/Jenasys)
#### Post date: [April 15, 2013, 2:21am UTC](https://www.finalbuilder.com/forums/t/build-1870-repo-polling/5810/2 "2013-04-15T02:21:38Z")

</div>

As a cross reference, I’ve run into an issue with the Continua Agent and running CodeSmith Generator. See [http://community.codesmithtools.com/support\_forums/f/3/p/12958/50347.aspx#50347](http://community.codesmithtools.com/support_forums/f/3/p/12958/50347.aspx#50347)

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [April 16, 2013, 12:29pm UTC](https://www.finalbuilder.com/forums/t/build-1870-repo-polling/5810/3 "2013-04-16T12:29:30Z")

</div>

Umm… do you have a Trigger setup on this repository?   
  
 If you click on the Changeset ID on the changes tab, it takes you to a view where you can see the changes and also any Associated builds.

---

<div class="post-metadata">

### Author: ![Jenasys](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/jenasys/32/888_2.png) [@Jenasys](https://www.finalbuilder.com/forums/u/Jenasys)
#### Post date: [April 16, 2013, 2:58am UTC](https://www.finalbuilder.com/forums/t/build-1870-repo-polling/5810/4 "2013-04-16T02:58:36Z")

</div>

Arrr, triggers configured NOW and I have 11 project configurations queued up for build. Wow Continua is coming alive!
