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
I have pushed bitbucket-pipelines.yml on a feature branch of a bitbucket repo.
The contents on the yml file seems syntactly correct.
Still, I am not able to find the pipelines on the bitbucket UI.
On the pipeline section, I am still getting a message to setup a pipeline.
My understanding was that if we push a valid bitbucket-pipelines.yml on the root path of any repo, pipelines would start showing up. In my case, I just want to run a custom pipeline step on the feature branch only for now.
By the way, pipelines are enabled.
What i am missing here?
Hello @Shivang Kumar and welcome to the Community!
For Bitbucket to identify that pipelines were enabled and that a valid yml file was already pushed, you will need to add the YML file to the main branch of your repository (usually master branch).
So if you haven't already, try pushing the YML file to the main branch as well, and the pipelines page should correctly identify it.
Once that is done, you can trigger the custom pipeline from your feature branch by navigating to Pipelines page and clicking on the Run Pipelines button in the top right corner.
Hope that helps! Let me know in case you have any questions.
Thank you, @Shivang Kumar !
Thank you @Patrik S
This solution worked. Actually, I was not ready to push the same pipeline code, which is under development in the feature branch, to the main branch.
As a work around, I just pushed a dummy pipeline yml which practically does nothing.
After this, I was able to run my own custom pipeline from the feature branch.