artifacts pipelines-schema not updated
Issue #592
new
From the documentation:
- step:
name: Display success message
artifacts:
download: false # do not download artifacts in this step
paths: # defining artifacts to be passed to each future step
- success.txt
script:
- echo "Deployment successful!" > success.txt
We should be able to declare artifact object
However, from the pipeline-schema: we have the following declaration:
"artifacts": {
"type": "array",
"title": "Files produced by a step to share with a following step",
"description": "Defines files to be shared from one step to a later step in your pipeline. Artifacts can be defined using glob patterns.",
"items": {
"type": "string",
"description": "Glob pattern for the path to the artifacts",
"minLength": 1
},
"minItems": 1
}
This produces an error in syntax in vscode but the Bitbucket pipeline works and does the expected behaviour: dont download the cache and store, success.txt
error in VSCode:
Addressed in https://bitbucket.org/atlassianlabs/atlascode/pull-requests/1028