The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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?

TAGS
AUG Leaders

Atlassian Community Events