Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,442
Community Members
 
Community Events
165
Community Groups

How to Build angular cli project in bamboo

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

Hello Goli,

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

Hi,

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

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

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

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 Aug 03, 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
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

961 views 3 8
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you