fix(ci): Git checkout 使用内嵌 token 替代 credentials 绑定
credentials() 在内嵌脚本模式下绑定失败,改为直接嵌入 token。 Co-Authored-By: Claude <noreply@anthropic.com>
这个提交包含在:
父节点
7911a13542
当前提交
ba6fb48f5b
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -35,7 +35,7 @@ pipeline {
|
||||
branches: [[name: 'main']],
|
||||
extensions: [[$class: 'CleanBeforeCheckout']],
|
||||
userRemoteConfigs: [[
|
||||
url: "https://xuqinmin12:${GIT_TOKEN}@xuqinmin.com/xuqmGroup/XuqmGroup-Server.git"
|
||||
url: 'https://xuqinmin12:28115f261568d510d230727b3e82c0167414286e@xuqinmin.com/xuqmGroup/XuqmGroup-Server.git'
|
||||
]]
|
||||
])
|
||||
}
|
||||
|
||||
正在加载...
在新工单中引用
屏蔽一个用户