Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can be possible restrict automated pipelines to certain commits?

Eduardo Huacuz
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!
September 16, 2019

I'using a tool which pushes commits to my repo but I don't want to run a pipeline when this happens.

 

What I mean is I just want to run the pipeline if the commits was made from a developer.

 

Is there a way to do this?

 

1 answer

2 votes
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 17, 2019

Hi @Eduardo Huacuz

Yes, you can do that if you put the token "[skip ci]" in all commit messages from your tool.

A commit that would be skipped by pipelines could be created like:

git commit -m "My message from automated tool [skip ci]"

Reference: Bitbucket Pipelines FAQ - Atlassian Documentation


⚠️We have a bug that prevents this feature from working for pull requests: [BCLOUD-17676] Pull-request pipelines run with [skip ci].



Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events