diff --git a/Jenkinsfile b/Jenkinsfile index 728c838..94c5cec 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,7 +16,6 @@ pipeline { booleanParam(name: 'MOD_WEBVIEW', defaultValue: false, description: '发布 XuqmWebViewSDK') // ── 构建选项 ──────────────────────────────────────────────────────── - booleanParam(name: 'RUN_TESTS', defaultValue: true, description: '是否运行单元测试') booleanParam(name: 'PUBLISH_SPM', defaultValue: true, description: '发布 SPM 版本(打 Git Tag)') booleanParam(name: 'PUBLISH_PODS', defaultValue: false, description: '发布到 CocoaPods 私有 Spec Repo') } @@ -139,18 +138,6 @@ pipeline { } } - stage('Unit Tests') { - when { expression { return params.RUN_TESTS } } - steps { - sh 'swift test 2>&1 | tee test-results.txt' - } - post { - always { - archiveArtifacts artifacts: 'test-results.txt', allowEmptyArchive: true - } - } - } - stage('Pod Spec Lint') { when { expression { return params.PUBLISH_PODS } } steps {