<build> <triggeringOptions cleanSources="true" rebuildAllDependencies="true" queueAtTop="true"/> <buildType id="buildConfID"/> <lastChanges> <change id="modificationId" personal="false"/> </lastChanges> </build>
Get all changes for a project:
Get all the changes in a build configuration since a particular change identified by its id:
Get pending changes for a build configuration
<lastChanges>tag contains information about the last commit included into the build and is only good for re-triggering the build: it contains the TeamCity internal id (the id attribute) associated with the commit, which is necessary for TeamCity to trigger a custom build on the same commit (see the example above).