You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
This is my first time trying to use pipelines, docker, and yaml. I copied the starter script from the repo and put it into pycharm, along with the script portion. However, pycham immediately complained:
remove prohibited property 'step' and 'script'
which is here:
name: Push and Tag
- pipe: atlassian/heroku-deploy:2.0.0
That seemed like a pretty major disagreement to my untrained eyes, so I came here for an explanation.
Hello @malik_rumi ,
Thank you for reaching out to Atlassian Community!
I'm not very familiar with Pycharm, but since this is an external IDE, it might be not correctly configured to process the yml file or it expects a different syntax than Bitbucket. I would suggest you take a look at the pycharm's official documentation of how to configure it to interpret YML files.
If that does not work either, my recommendation is to use the official's Bitbucket Cloud online validator: https://bitbucket-pipelines.prod.public.atl-paas.net/validator
You can paste your YML code into this validator and it will point out any formatting issue or syntax error. As long as your YML file passes the checks of the online validator, you should be good at using it as the definition of your pipeline.
Thank you, @malik_rumi .