Why Can't I "Enable Pipelines" on my repository?

Daniel Shaw February 20, 2024

I've gone through the tutorial to set up pipelines. However, I'm unable to enable them. When I go to the pipeline settings, I'm able to click on the 'Enable Pipelines' button and it appears to move to the 'on' position... but it remains grayed out and becomes unresponsive at that point. If I refresh the page, it goes back to the 'Off' position. 

1 answer

1 vote
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 21, 2024

Hi @Daniel Shaw,

Welcome to the community.

May I know if you already have the file named "bitbucket-pipelines.yml" in your main branch?
If not yet, could you try to setup Pipelines by clicking the Pipelines tab and choosing the default template?
Once done, that should also enable Pipelines for your repository.

Let me know how it goes.

Regards,
Mark C

Daniel Shaw February 22, 2024

Thanks for getting back to me. I've got the "bitbucket-pipelines.yml" in my 'master' branch. I'm using that instead of the default 'main'. Could that be causing this? I'm using the default template for a Python repo. Thanks!

Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 25, 2024

Hi @Daniel Shaw

Would it be possible for you to go to your Repository settings > Repository details > Click ADVANCED? - https://bitbucket.org/workspace_id/repo_name/admin

Under the "Main branch" field, could you confirm if it says "master" or "main"?

If it says "main", try to change it to "master", click the Save changes button and enable Pipelines again.

Let me know how it goes.

Regards,
Mark C

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events