I have created pipeline.yml and try to run it manually for deployment. When I open run pipeline and choose the branch and pipeline I had this error message; There is an error in your bitbucket-pipelines.yml at [pipelines > custom > deploy-to-uat > 0 > step > script > 5]. Missing or empty command string. Each item in this list should either be a single command string or a map defining a pipe invocation.
Here is the code;
The problem is reported related to this line:
- *auth-script
...which references this anchor:
- &auth-script
- openssl enc -nosalt -aes-256-cbc -d -in assets/server.key.enc -out assets/server.key -base64 -K $DECRYPTION_KEY -iv $DECRYPTION_IV
- sf org login jwt --instance-url $SF_INSTANCE_URL --client-id $SF_CONSUMER_KEY --jwt-key-file assets/server.key --username $SF_USERNAME --alias target_org
I have the feeling that as the anchor is a list, the alias will render (insert) this list to a sub-list in the location of the reference?! And that's not what you want.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.