JLBA202505130001_关于吉林银行新建AI智能培训系统的需求_完善代码规范

This commit is contained in:
田岩
2026-03-30 15:03:04 +08:00
parent b7519d0863
commit 7903e9711d
+4 -2
View File
@@ -33,6 +33,7 @@ pipeline {
API_KEY = "ACRB9XFL9G" // App Store Connect API 密钥ID
API_ISSUER = "69a6de7f-3378-47e3-e053-5b8c7c11a4d1" // API 密钥对应的Issuer ID
API_TYPE = "ios" // 应用类型(固定为ios)
P8_FILE = "${CERT_DIR}/AuthKey_ACRB9XFL9G.p8" // .p8 密钥文件
}
stages {
stage('打印环境变量') {
@@ -85,7 +86,7 @@ pipeline {
sh '''
security unlock-keychain -p ${MAC_LOGIN_PWD} ~/Library/Keychains/login.keychain-db
security import ${P12_FILE} -k ~/Library/Keychains/login.keychain-db -P ${P12_PASSWORD} -A
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k ${MAC_LOGIN_PWD} ~/Library/Keychains/login.keychain-db
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k ${MAC_LOGIN_PWD} ~/Library/Keychains/login.keychain-db >/dev/null 2>&1
'''
echo "# =============== 安装描述文件 ==============="
sh '''
@@ -202,7 +203,8 @@ pipeline {
--file ${APP_DIR}/build/${SCHEME_NAME}.ipa \\
--type ${API_TYPE} \\
--apiKey ${API_KEY} \\
--apiIssuer ${API_ISSUER}
--apiIssuer ${API_ISSUER} \\
--keyPath "${P8_FILE}"
"""
echo "✅ IPA 验证成功!开始上传到 TestFlight"