【2023 华为云 CodeArts Build 实战训练营】云端实战 - 玩转编译构建

2023HDC 华为开发者大会即将到来,一起跟小智提前体验华为云 CodeArts Build
请注册华为云账号并完成实名认证,实验过程中请使用 Chrome 浏览器完成相关操作。
华为云账号注册步骤请参考:
https://support.huaweicloud.com/usermanual-account/zh-cn_topic_0069252244.html
实名认证操作步骤请参考:
https://support.huaweicloud.com/usermanual-account/account_auth_00001.html
一、资源准备:免费开通 CodeArts Build 套餐
1、戳我进入CodeArtsBuild 首页 点击“立即使用”;

2、点击“免费开通 5 人版”;

3、进行套餐信息确认,注意“取消自动续费”,勾选“阅读并同意声明”,点击“确认开通”

4、至此,套餐购买成功,即刻开启体验吧!

二、快速创建 CodeArts Build 的项目
1 新建项目
鼠标移动到“项目模板”中的“Scrum”,点击“选用”

点击“确定”完成项目的创建

至此项目 CodeArts Build 项目创建成功。
2 新建代码仓
在新页面中点击左侧导航栏中“代码”,然后点击“代码托管”,进入代码托管页面。

在代码托管页面点击“普通新建”右侧的下拉按钮,选择“按模板新建”,进入按模板新建页面

在按模板新建页面搜索框输入“java web”点击回车进行搜索,点击搜索结果中的“Java Web Demo”项目,然后点击“下一步”

输入代码仓库名称“JavaWeb”后点击“确定”,成功创建后会跳转至代码仓页面,至此完成 Java Web 项目的代码仓的创建。
3 启动构建任务
点击左侧“持续交付”下的“编译构建”,并进入任务的“编辑”界面

在“参数设置”中,去掉“运行时设置”。

选择上方的“执行计划”,
打开“定时执行”,并且都勾选上,可体验编译构建定时任务
最后点击右上方的“保存并执行”
即可启动构建任务。


评论