Forums

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

How do I manually set the build trigger when pushing changes to the repository?

calee55
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 14, 2019

I read the article "Get started with Bitbucket Pipelines".

Pipelines will now automatically trigger whenever you push changes to your repository, running the default pipeline.

 

I want to build everything together at build time. not each commit.

 

I want to know two things.

1. Is it possible not to build automatically when pushing changes?

2. If there are no changes, can I avoid booking builds?

1 answer

1 accepted

0 votes
Answer accepted
Marty
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 14, 2019

Hi there,

you can configure your pipeline steps to run manually, so they require human intervention to trigger the steps: https://confluence.atlassian.com/bitbucket/run-pipelines-manually-861242583.html

I hope that helps!

이상민 February 21, 2019

thank you for help!

Is there any answer to 2nd question?

Like Marty likes this
Marty
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 21, 2019

Hi,

could you explain what you mean by "If there are no changes, can I avoid booking builds".  If your pipeline is triggered manually, then you never have to trigger it if there are no changes.

According to the pricing page for Bitbucket you get a certain number of build minutes per month depending on your license. https://bitbucket.org/product/pricing

So you don't get charged per build, rather you get charged per build minute.  So one way you could limit your build minutes might be to add a step in your pipeline to check if anything has changed.  Just a thought.

I hope that helps!

이상민 February 21, 2019

I want to build a schedule but I do not want to build it if there are no changes.

Is there a way?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events