Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

what is the issue with the following bitbucket yml

sedhuait
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 21, 2019
image: node:10.15.0
clone:
depth: full
pipelines:
default:
- step:
script:
- pipe: atlassian/aws-elasticbeanstalk-deploy:0.2.1
variables:
AWS_ACCESS_KEY_ID: "$AWS_ACCESS_KEY_ID"
AWS_SECRET_ACCESS_KEY: "$AWS_SECRET_ACCESS_KEY"
AWS_DEFAULT_REGION: "ap-south-1"
APPLICATION_NAME: "NIKA"
ENVIRONMENT_NAME: "NIKA-Worker"
ZIP_FILE: "nika-worker.zip"
VERSION_LABEL: "${ENVIRONMENT_NAME}_${BITBUCKET_COMMIT:0:8}_YYYY-mm-dd_HHMMSS)"
DEBUG: true

1 answer

0 votes
Steven Vaccarella
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 23, 2019

Hi Sedhuraja,

It's a bit hard to be sure due to the lack of indenting, but my best guess is that you are trying to define a pipe variable (DEBUG) with a boolean value (true). All pipe variables must have string values. Try this instead:

DEBUG: 'true'

If that doesn't fix the problem, please post the yaml again, formatted as a "Code block" (in the "Format" drop-down menu in the editor) so that we can see the indenting. You should also include the error message you get when you try to run the pipeline (or the error message shown in the yaml editor in the UI).

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events