Perforce Shelve Trigger
The Perforce shelve trigger automatically runs a build on detecting a change in shelved files of your Perforce changelists.
tip
You can also run such a build manually, with the custom run.
The trigger supports Perforce 2018.2 or later.
The trigger monitors all Perforce VCS roots associated with the current build configuration. You can filter monitored changelists by their description. To do this, specify the required keyword to search.
tip
See how to invoke this trigger via TeamCity REST API.
On any change made in shelved files of a matching changelist, TeamCity will start a new personal build with the contents of these files.
If the current build is composite, the whole build chain will be triggered on a change in shelved files.
If stream support is enabled in the Perforce VCS root settings, this trigger will run builds only on the default stream.
TeamCity provides a configuration parameter vcsRoot.rootExternalId.shelvedChangelist
with the ID of the changelist whose changes triggered this build.
This trigger logs events to the teamcity-triggers.log
file with the perforceShelveTrigger
logging key.
Thanks for your feedback!