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

How to Build angular cli project in bamboo

Sadasivaiah Goli
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 17, 2017

I have angular project in my repository. I want my angular-cli app build in bamboo . How can we do this. Tell me what are the configuration I have to done . Please help me to build with bamboo?

4 answers

0 votes
vivshalu1 September 5, 2018

Hello Goli,

Were you able to complete this and if yes, can you please help me with the same ?

Jeyanthan I
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 6, 2018

Hi,

Have you tried automating the angular project build tasks with Script task?
Do you face any issues there?

vivshalu1 September 6, 2018

Thanks for your reply jeyanthan. i did not use scripts and i have made below 3 steps.

1.source code checkout

2.npm -  install

3.npm - ng build

0 votes
tien tran March 6, 2018

Hi,

it depends on what kind of script you want to build your app. It can be bower, gulp, grunt, etc..

Per each method, Bamboo provides a lot of option script accordingly like nodejs, npm, grunt, bower..

I suggest the following steps to create your build script:

1. Check your node js/npm installation

2. Clean cache npm if needed

3. Install dependencies, npm install, bower install..for example

4. Build your app: ng build, gulp build

0 votes
Rohit Verma/492
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 4, 2017

Hello,

You can use Script task for it.

cd /<path to the project chekout dir>

if you are using ng to build : ng build

before that please install the latest angular-cli using - npm

0 votes
Jeyanthan I
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 3, 2017

Hi Sadasivaiah,

I'm not an angular expert. But looking at the documentation, it looks like we can just use a Script task to build an angular project.

Hope that helps.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events