You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.
Join groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hi,
We have this setting in yaml:
This is run when I create the branch to remote (we create them from jira tickets)
How can we do so that it is run when new commits are pushed to the feature branch not when it is created in remote.
Thanks,
Jani
branches:
feature/*:
- step:
name: Run when commits pushed to feature branch
trigger: automatic
services:
- docker
script:
I believe this setup is currently not supported.
I can't even think of a viable workaround apart from only pushing with commits. Maybe you could have a script inside a build that skips remaining steps when the diff to master branch is empty? That way it will trigger but not really spend heaps of build minutes?
Thanks, that is the way I do it. I followed these instructions: https://community.atlassian.com/t5/Bitbucket-questions/Avoid-running-pipeline-when-creating-new-branch-from-master/qaq-p/884010
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi everyone, We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.