Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it currently possible to trigger custom pipelines only on specified branches?

Shane Fast
Contributor
May 18, 2017

I have some custom pipelines that I want to only be executable from commits merged onto master. I've tried a few permutaions on the bitbucket-pipelines.yml file, but in effect I want something that does this:

custom:

  custom-build-name:

    master:

      - step:

          script: ...

Is this possible?

1 answer

1 vote
xtjhin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 22, 2017

Hi Shane, that's currently not possible.

Could you explain why you want to restrict a custom pipeline to master only?

Shane Fast
Contributor
May 23, 2017

I have some custom pipelines that deploy to our production servers. I wanted to prevent code that hasn't undergone our pull request process from accidentally getting deployed

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events