Bitbucket File
Bitbucket file artifacts are references to files stored in Bitbucket . They are generally consumed by stages that read configuration from text files, such as a Deploy Manifest stage.
Fields
Field | Explanation |
---|---|
type | Always bitbucket/file . |
reference | The full path including filename for retrieval via the Bitbucket API. https://api.bitbucket.org/2.0/repositories/$ORG/$REPO/src/$VERSION/$FILEPATH . For more info, see the documentation
here
. |
name | The file path within your repo. path/to/file.yml is an example. |
version | N/A. Must be specified in reference. |
location | N/A |
Example
{
"type": "bitbucket/file",
"reference": "https://api.bitbucket.org/2.0/repositories/org/repo/src/master/manifests/config.yaml",
"name": "manifests/config.yaml"
}
Last modified May 4, 2021: more cleanup (0281411)