It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Pipeline is not triggered by tag Edited

Hi guys,

My pipelines are working well for branches, but not triggered by tags. No matter if I add a tag from BitBucket UI/Commits or use "git push --tags" (the commits are pre-existing) - the tags appear on the BitBucket side, but no new pipeline started.

The pipeline YAML is:

 

options:
docker: true
max-time: 10
pipelines:
branches:
develop:
...
prod:
...
tags:
'**':
- step:
name: Build and push tag
...

Any hint? Thanks!

1 answer

0 votes
mwatson Atlassian Team Feb 18, 2019

Can you post an outline of your bitbucket-pipelines.yml with the correct indenting, or is this the indenting you have in yours? If it is, it is not correct and would result in your pipeline not triggering.

Your YML needs to be indented as per the example in https://confluence.atlassian.com/bitbucket/configure-bitbucket-pipelines-yml-792298910.html#Configurebitbucket-pipelines.yml-ci_pipelines

 

Hope this helps,

Matt Watson

Bitbucket Pipelines Dev Manager

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,052 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you