Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

how to update branch to master in job?

Tester Bankiru January 10, 2019

Hello.

Please help. Use bamboo 5.x I have to create job for  update branch last version of origin/master. How do it?

I tried to use sub directory & script with command line (git command). Example of my script

git fetch origin master
git checkout branch1
git merge origin/master
git push

1 answer

0 votes
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 14, 2019

Hi @Tester Bankiru,

Bamboo has a repository cache to run and update builds faster. For this reason, if you need to do this using a script, you will have to perform some adjustments in the local source repository used for the build as described in the following documents:

I hope it helps.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events