Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to merge as part of the pipeline?

Mathew Vaughan
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!
October 31, 2019

What I'm attempting to do:

When a change is pushed on a feature branch that matches the pattern 'merge**' I would like the tests to be run and for the change to be merged into our 'develop' branch.

I attempt to checkout develop so that I can merge, however I receive this error:

error: pathspec 'develop' did not match any file(s) known to git.

I tried running git fetch and git branch, but the only branch available is the feature branch. I believe this may be down to the fact the Build Setup clones a specific branch.

How can I access my develop branch as part of my build pipeline?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events