提交jenkins自动化流水线

This commit is contained in:
Home
2026-03-29 16:02:19 +08:00
parent c7d2742b29
commit a23e6a9525
2 changed files with 11 additions and 7 deletions
Vendored
-3
View File
@@ -40,9 +40,6 @@ pipeline {
stage('读取 manifest 版本号 → 写入环境变量') {
steps {
script {
// 1. 安装 json5(支持注释JSON
sh 'npm install json5 --registry=https://registry.npmmirror.com'
// 2. 读取并设置为 环境变量(全局可用)
env.versionName = sh(
script: '''