提交jenkins自动化流水线
This commit is contained in:
Vendored
-3
@@ -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: '''
|
||||
|
||||
Reference in New Issue
Block a user