sourceToBuild property

GitRepoSource? sourceToBuild
getter/setter pair

The repo and ref of the repository from which to build.

This field is used only for those triggers that do not respond to SCM events. Triggers that respond to such events build source at whatever commit caused the event. This field is currently only used by Webhook, Pub/Sub, Manual, and Cron triggers.

Implementation

GitRepoSource? sourceToBuild;