From 3e002338eb2f308dd34166ee3d4fb6f75b3ace8e Mon Sep 17 00:00:00 2001 From: Home Date: Mon, 30 Mar 2026 03:29:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4jenkins=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8C=96=E6=B5=81=E6=B0=B4=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile.ios | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/Jenkinsfile.ios b/Jenkinsfile.ios index 4010bbd8..abd0ce2e 100644 --- a/Jenkinsfile.ios +++ b/Jenkinsfile.ios @@ -108,23 +108,23 @@ pipeline { // } // } -// stage('开始归档项目') { -// steps { -// sh ''' -// xcodebuild archive \\ -// -project ${APP_DIR}/${PROJECT_NAME}.xcodeproj \\ -// -scheme ${SCHEME_NAME} \\ -// -configuration ${CONFIGURATION} \\ -// -archivePath ${ARCHIVE_PATH} \\ -// -destination generic/platform=iOS \\ -// MARKETING_VERSION=${versionName} \\ -// CURRENT_PROJECT_VERSION=${versionCode} \\ -// CODE_SIGN_STYLE=Manual \\ -// PROVISIONING_PROFILE_SPECIFIER=${PROVISIONING_PROFILE_SPECIFIER} \\ -// DEVELOPMENT_TEAM=${DEVELOPMENT_TEAM} -// ''' -// } -// } + stage('开始归档项目') { + steps { + sh ''' + xcodebuild archive \\ + -project ${APP_DIR}/${PROJECT_NAME}.xcodeproj \\ + -scheme ${SCHEME_NAME} \\ + -configuration ${CONFIGURATION} \\ + -archivePath ${ARCHIVE_PATH} \\ + -destination generic/platform=iOS \\ + MARKETING_VERSION=${versionName} \\ + CURRENT_PROJECT_VERSION=${versionCode} \\ + CODE_SIGN_STYLE=Manual \\ + PROVISIONING_PROFILE_SPECIFIER=${PROVISIONING_PROFILE_SPECIFIER} \\ + DEVELOPMENT_TEAM=${DEVELOPMENT_TEAM} + ''' + } + } } post {