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!
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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.