Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 948 Bytes

ontrackCliBuildLink.md

File metadata and controls

23 lines (17 loc) · 948 Bytes

Creates a link to another build from the current build.

Note that this step works best after ontrackCliSetup and ontrackCliBuild have been called before.

Parameters

Parameter Type Default Description
project String ONTRACK_PROJECT_NAME environment variable Name of the project in Ontrack to target
build String ONTRACK_BUILD_NAME environment variable Name of the build to link from in Ontrack
logging boolean false Set to true to display debug / logging information while performing the operation.
toProject String Required Name of the project to link to
toBuild String Required Name of the build to link to

Examples

ontrackCliSetup(...)
ontrackCliBuild(...)
ontrackCliBuildLink toProject: 'target', toBuild: '...'