下载

加载插件太慢,更换镜像地址
http://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json

工具配置jdk和maven

安装Deploy to container Plugin

Git后端部署
新建Item

源码管理

Build Steps

clean package -Dmaven.test.skip=true

Build Now

控制台输出


Git前端部署
新建Item

源码管理

Build Now

安装依赖
切换到 C:\ProgramData\Jenkins\.jenkins\workspace\RuoYi-Vue3
执行 yarn --registry=https://registry.npm.taobao.org
修改配置
Build Steps

Execute Windows batch command
yarn build:prod

Build Now

安装svn插件

SVN后端部署
新建Item

源码管理

增加构建步骤
Invoke top-level Maven targets

clean package -Dmaven.test.skip=true

Build Now

SVN前端部署
控制台输出


4471

被折叠的 条评论
为什么被折叠?



