Pipeline is not triggered by tag

Sergey Kravchenko February 12, 2019

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
Atlassian Team members are employees working across the company in a wide variety of roles.
February 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
AUG Leaders

Atlassian Community Events