安装云翼梯子
安装云翼梯子:
npm install -y cloud-翼
运行以下命令添加项目到云翼:
cloud-翼 src/app cloud-翼 src/app
构建云翼梯子配置文件
在云翼中创建配置文件:
- 打开云翼,点击 File > New > Config。
- 选择云翼梯子作为构建工具。
- 选择需要构建的项目(如
src/app)。 - 输入配置内容,确保路径正确:
{
"name": "myproject",
"root": "src/app/",
"version": "1.",
"buildDir": "src/app",
"extDir": "src/app/build",
"jarDir": "src/app/build",
"jarName": "myjar",
"jarType": "jar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar",
"jarPath": "src/app/build/myjar,
// 合并所有路径
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar,
"jarPath": "src/app/build/myjar。
}
添加项目到云翼
在云翼中添加项目:
cloud-翼 src/app cloud-翼 src/app
添加资源
在项目中添加资源,src/app/manifest.json:
cloud-翼 src/app manifest.json
创建Jenkins或G PGH配置
在项目中创建配置文件:
cloud-翼 Jenkins cloud-翼 GPGH
建筑云翼梯子
使用命令行输入配置文件:
cloud-翼 config add cloud-翼 config autowire cloud-翼 config autowire --jar myjar
测试云翼构建
在项目中创建 src/app/myjar 文件,运行:
./jenkins myjar
通过以上步骤,您已经成功构建了云翼梯子,这工具允许您方便地构建和构建云服务容器,适用于Jenkins、G PGH和Kubernetes等工具。









