修复 Jenkinsfile 中敏感信息硬编码问题

This commit is contained in:
2026-03-03 12:12:17 +08:00
parent 5a6d457a87
commit 724be69c76
2 changed files with 8 additions and 3 deletions
Vendored
+2 -2
View File
@@ -3,12 +3,12 @@ pipeline {
environment {
APP_NAME = 'no-whatever'
AMAP_KEY = '7f6be40a6de3f7fbb7bc3f825b67573b'
AMAP_KEY = credentials('amap-api-key')
DEEPSEEK_KEY = credentials('deepseek-api-key')
}
triggers {
GenericTrigger(token: 'no-whatever-deploy')
GenericTrigger(tokenCredentialId: 'no-whatever-deploy-token')
}
stages {