Disclaimer: I read the docs, I know this is just complaining and not giving feedback, but man, this UI stills is horrible.
So… Let’s put into situation, there was a connection update between devops and bitbucket and suddenly most of our pipelines stopped working. They told me to change the connection in the yaml file and that didn’t work.
I know that there are three parts involving in a pipeline for sure:
- The yml file in your repo, describing the jobs for the pipeline.
- The pipeline in devops, handling the config and the run on the azure devops side.
- And the webhooks section in the bitbucket repository configuring the needed trigger when the needed events are met.
So… I started looking and the pipeline in devops. And ok, this has been there for ages, but I hadn’t needed to touch it for ages too, so let’s see.
From a pipeline click on edit.
Then on the 3 dots at right and go to triggers.
And important note about this section, I came after this after my pull request build not being triggered. I just deleted all the webhooks on the bitbucket side and discover than you can recreate them from this section. A yellow display will appear and you can regenerate the connection.
So now click on the yaml tab on the left and go for “get sources” under pipeline, and voilá! You can change the connection that was being used for your repo!
And please, microsoft, make it easier. I know this is not the normal case, but contextual submenus with no direct options are never good.