Bamboo Cannot execute bower install or grunt build

Using the npm Bamboo plugin I'm able to execute the npm -g install grunt-cli karma bower and npm install

My issue comes up when I attempt to run the bower watch command. According to the log received "bower" is not an available option

Default Job Default Stage Download or View

30-May-2014 11:57:38

30-May-2014 11:57:38 where <command> is one of:

30-May-2014 11:57:38 add-user, adduser, apihelp, author, bin, bugs, c, cache,

30-May-2014 11:57:38 completion, config, ddp, dedupe, deprecate, docs, edit,

30-May-2014 11:57:38 explore, faq, find, find-dupes, get, help, help-search,

30-May-2014 11:57:38 home, i, info, init, install, isntall, issues, la, link,

30-May-2014 11:57:38 list, ll, ln, login, ls, outdated, owner, pack, prefix,

30-May-2014 11:57:38 prune, publish, r, rb, rebuild, remove, repo, restart, rm,

30-May-2014 11:57:38 root, run-script, s, se, search, set, show, shrinkwrap,

30-May-2014 11:57:38 star, stars, start, stop, submodule, t, tag, test, tst, un,

30-May-2014 11:57:38 uninstall, unlink, unpublish, unstar, up, update, v,

30-May-2014 11:57:38 version, view, whoami

30-May-2014 11:57:38

30-May-2014 11:57:38 npm <cmd> -h quick help on <cmd>

// Omitted output

then I created a script to run the following bower and the grunt commands within the project directory, but it didn't work b/c JQuery,Bootstrap, etc were not downloaded

Cam some give the steps required in Bambo to run the bower and grunt command after npm install

Thanks in advance,

Luis Solano

1 answer

Solved issue

Set sub-working directory to the correct path

What path is the correct path?

it should point the location where your project was checked-out

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,561 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you