configure-artifacts
- Last updated on December 29, 2023
- •
- Less than a minute to read
This task defines parameters for an artifact or an artifact collection. Sets the same values for all specified artifacts as specified in the parameters.
Parameters
name
(string) - A new file name for the artifact or artifact collection. When processing a collection of artifacts, the artifact index in the collection is added to the name (resulting in"item name (1)"
,"item name (2)"
, etc.).final
(string) - If"true"
, the artifact will be final. You can pass either"true"
or"false"
.anonymousAccess
(string) - If"true"
, the artifact will support anonymous access. You can pass either"true"
or"false"
.
These parameters support argument interpolation following the common rules.
Example
{
"description": "Configure print file access",
"name": "configure-access",
"type": "configure-artifacts",
"inputArtifacts": [
"file",
"additional*"
],
"parameters": {
"name": "item name",
"final": "true",
"anonymousAccess": "true"
}
}