提交jenkins自动化流水线

This commit is contained in:
Home
2026-03-30 02:49:09 +08:00
parent d4e8cee7e5
commit d623d21af0
+12 -12
View File
@@ -126,18 +126,18 @@ pipeline {
'''
}
}
// stage('开始归档项目') {
// steps {
// sh """
// xcodebuild archive \\
// -project ${APP_DIR}/${PROJECT_NAME}.xcodeproj \\
// -scheme ${SCHEME_NAME} \\
// -configuration ${CONFIGURATION} \\
// -archivePath ${ARCHIVE_PATH}
// """
//
// }
// }
stage('开始归档项目') {
steps {
sh """
xcodebuild archive \\
-project ${APP_DIR}/${PROJECT_NAME}.xcodeproj \\
-scheme ${SCHEME_NAME} \\
-configuration ${CONFIGURATION} \\
-archivePath ${ARCHIVE_PATH}
"""
}
}
}
post {