Details
-
Bug
-
Resolution: Fixed
-
Medium
Description
Steps to Reproduce
Edit the .yml in a repo with the following, commit it and push:
#!python pipelines: branches: master: - step: image: redis script: - redis-cli -h localhost ping services: - redis - database definitions: services: redis: image: redis database: image: mysql environment: MYSQL_ROOT_PASSWORD: password MYSQL_RANDOM_ROOT_PASSWORD: yes
Expected Results
The build succeeds.
Actual Results
The build fails with the following error:
"The 'environment' section in your bitbucket-pipelines.yml file must be a map."
Notes
The build succeeds if the example .yml file above includes only
#!python MYSQL_ROOT_PASSWORD: password
in the environment section.