Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The cache isn't just a bunch of files - it is versioned. This makes it easy for us to get the right version of the source to build. For example, lets say you have a Repository Trigger with a quiet period of 1 minute (that is, the build will wait 1 minute after its triggered to see if any other changes come in):

  1. new commit (Change1) is detected, which queues up a new build.  
  2. just after the quiet period has ended, (and the build is just starting) a new change (Change2) is detected in your repository, which is automatically sync'd to all of the agents. 
  3. now your build starts running on an agent

...