feedback
feedback copied to clipboard
multiple commands using the buildkite pipeline api
In yaml, it is possible to use pipeline.yml and specify multiple commands.
When creating a pipeline using the api, this does not appear possible:
{
"type": "script",
"name": "command: ecomqc",
"command": [
"echo aws --profile ecomqc s3 ls s3://"
],
"env": {
"AWS_SHARED_CREDENTIALS_FILE": "/tmp/aws-credentials-${BUILDKITE_BUILD_ID}"
}
}
where command is a list not a simple key. Is the api different here than what I would expect by looking at a pipeline yaml file?