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

Does the Built-in Bamboo Git Support multiple commands?

Ricardo C. January 31, 2013

Hi,

I'm using a Script Task to execute Git commands, however only the first command executes? Is there a way to run a series of commands? Example:

git init
git add .
git commit -m "initial commit"

Thanks in advance for your help!

I added in Echo statements but it's still only executing the first git statement "git init" and completing the tasks

1 answer

0 votes
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 31, 2013

Script task should always execute all lines - like a regular script. Can you add some echo statements?

Does the script work from the command line?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events