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
Community showcase
Posted Jan 15, 2019 in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

255 views 4 1
Join discussion

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