diff --git a/Jenkinsfile-ios b/Jenkinsfile-ios index 85161d3c..88efc0c8 100644 --- a/Jenkinsfile-ios +++ b/Jenkinsfile-ios @@ -84,8 +84,8 @@ pipeline { steps { echo "# =============== 安装 p12 证书 ===============" 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 unlock-keychain -p ${MAC_LOGIN_PWD} ~/Library/Keychains/login.keychain-db >/dev/null 2>&1 + security import ${P12_FILE} -k ~/Library/Keychains/login.keychain-db -P ${P12_PASSWORD} -A >/dev/null 2>&1 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 "# =============== 安装描述文件 ==============="