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: 

Bamboo - continuous deployment with Angular CLI

Jakub Piekarczyk
October 3, 2018

I've set up a deployment project for an Angular app, copying its files to a remote server (with SCP task) and building it with `ng serve` (with command over SSH task). Now, even though this works, and the app is successfully deployed, there are problems with this. 

FIrst, the deployments are kept running for a long time, because the `ng serve` command doesn't provide a return code until it's canceled manually.  Second, those deployments are always marked as failed, even though the app works - but that makes sense, because third, after executing those commands, there is no control over the deployment. If there's an error, I have to manually go to the server and kill the process, before trying again. 

I have searched for solutions, but couldn't find any. Is there a better way of doing this?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events