extract-assets
- Last updated on December 29, 2023
- •
- Less than a minute to read
This task is employed to extract multiple assets of a specified type from the repository and save them as artifacts.
Parameters
assetType
(string) - The type of asset to be extracted, one ofDesign
,PrivateDesign
,Image
, orPrivateImage
.assetIds
(array of strings) - The list of identifiers for the assets to be extracted.
These parameters support argument interpolation following the common rules.
Example
{
"description": "Extract images",
"name": "extract-images",
"type": "extract-assets",
"parameters": {
"assetType": "Image",
"assetIds": [
"{{project.items.0.fields.imageId_front}}",
"{{project.items.0.fields.imageId_back}}"
]
},
"outputArtifacts": [
"result*"
]
}