Target
Target defines the 'where' your want to update
On this page
Description
The "target" stage is updated if the necessary "resource", like a file based on information retrieved from a source. This happens provided all condition checks succeed.
Parameters
Name | Type | Description | Required |
---|---|---|---|
conditionids | array | ||
dependson | array | dependson specifies which resources must be executed before the current one | |
dependsonchange | boolean | ||
disableconditions | boolean | ||
disablesourceinput | boolean | ||
kind | string | kind specifies the targets resource kind | |
name | string | name specifies the resource name | |
scmid | string | scmid specifies the scm configuration key associated to the current resource | |
sourceid | string | ||
spec | object | spec specifies parameters for a specific targets kind | |
transformers | array | transformers defines how the default input value need to be transformed | |
addprefix | string | AddPrefix adds a prefix to the transformer input value | |
addsuffix | string | AddSuffix adds a suffix to the transformer input value | |
find | string | Find searches for a specific value if it exists and return false if it doesn't | |
findsubmatch | object | Find searches for a specific value if it exists then return the value using regular expression | [pattern] |
replacer | object | Replacer specifies what value needs to be changed and how | [from to] |
replacers | array | Replacers specifies a list of replacer instruction | |
semverinc | string | SemvVerInc specifies a comma separated list semantic versioning component that needs to be upgraded. | |
trimprefix | string | TrimPrefix removes a prefix to the transformer input value | |
trimsuffix | string | TrimSuffix removes the suffix from the transformer input value |