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
Next: Root
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
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Is it possible to disable access to the `Pipelines` menu for public repositories?
In other words, for any user, the `Pipelines` menu would not appear and would not be accessible.
Hi @zoltan_zvara,
I'm afraid that this is not possible. When a repository is public, all of its pages are publicly available (except the Repository settings page, which is only available to admins).
If you have a public repo (which means that the bitbucket-pipelines.yml file is also public), could you please explain why you are looking to make the Pipelines page private?
Kind regards,
Theodora
I'm worried the pipeline would log a credential, like a password or PAT, into the build logs by mistake. On the other hand, the consumer of the said repository is not interested in the pipeline itself, therefore, disabling that menu item would simplify a lot of stuff an increase security.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @zoltan_zvara,
Thank you for the details. Would it work for you if you kept this repo private and created a public fork of the repo to share?
When you create a fork of a repo, the Pipelines builds and the repository variables do not get transferred to the fork. Pipelines is by default disabled in the fork (unless you manually enable it from Repository settings > Settings (under the section PIPELINES), so a build will not run when you sync/update the fork.
Please keep in mind that a fork is not synced automatically, it can only be synced manually:
Additionally, the sync operation syncs the main branch of the repo only. You could write a script though that syncs all branches (if that is a requirement) and run it on set intervals to update the fork.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.