繁体   English   中英

我们如何在Bitbucket服务器中为Angular 8代码创建CI / CD管道以部署在Azure云中?

[英]How can we create a CI/CD Pipeline for Angular 8 code in Bitbucket-server to be deployed in Azure Cloud?

我是Azure云的新手。 我需要设置一个CI / CD管道,该管道将运行以下任务,并在每次将新更改推送到Bitbucket服务器中的特定分支时,将生成的内容部署到Azure Cloud Web App服务器。

以下是任务:

(A)运行npm install(B)运行ng build --prod(C)运行ng测试(D)将dist / App_Name构建部署到Azure云中的/ wwwroot文件夹。

我试图从Azure云的Deployment Center下的Bitbucket服务器中提取代码,但找不到任何选择。

创建应用程序服务后,您应该在Deployment Center下看到Bit Bucket选项。

Azure部署中心刀片

单击Bitbucket后,单击刀片底部的“授权”按钮,然后将打开Atlassian登录屏幕。 从那里,您应该能够选择您的位桶存储库。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM