An alphanumeric string (underscores are permitted) that identifies the resource.
PropertyBag for this resource type.
Specifies all configuration selections for the resource.
|A property for the PropertyBag resource. The tag should be a valid variable name (Bash or PowerShell) for the steps where it is to be an input or output and the value a string. At least one is required, multiple properties are allowed.||Required|
This configuration can be used to pin the resource to a specific version. The pinned resource version will be used by the steps that reference this resource as an input and newer versions will be ignored.
Users have two configuration options when selecting the PropertyBag resource version to be pinned:
Steps that use the resource as an output can still produce new versions. New versions will be visible for steps using the resource as an input as long as they are part of the same run of the step that created the version.
When creating a new run, manual custom trigger can still be used to override the pinned version to a different one.
PropertyBag is used in a step, a set of environment variables is automatically made available that you can use in your step.
|Each property in the PropertyBag resource will be available as an environment variable in this format.|
|If a PropertyBag resource is in inputResources, the properties will also be exported as environment variables with the tag as the variable name.|
This example uses two steps,
S_WF_012_step2. When the pipeline runs, the step
S_WF_012_step2 is triggered, but the step
S_WF_012_step1 is skipped. This is because, the
newVersionOnly tag is set as
true for the
S_WF_012_resource input resource that is used in this step. During a run, if an input resource's version is not updated and if the
newVersionOnly tag is set as true, it causes the step using that input resource to be skipped.