diff --git a/Jenkinsfile b/Jenkinsfile index d2463d14..4c4ecd8e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,13 +1,20 @@ -@Library('jenkins-library@feature/DOPS-3035') _ +@Library('jenkins-library@feature/DOPS-3035-mv_to_lib') _ //Test jenkins -def pipeline = new org.ios.ShareFeature( +def pipeline = new org.ios.AppPipeline( steps: this, dojoProductType: "sora-mobile", - lintCmd: 'cd tools/swiftformat && ./swiftformat --lint ./../../Sources', - testCmd: "xcodebuild -scheme Modules-Package -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.4' test", - buildCmd: "xcodebuild -scheme Modules-Package -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.4'", + sharedFeatureBuild: "xcodebuild -scheme Modules-Package -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.4'", + sharedFeatureTest: "xcodebuild -scheme Modules-Package -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.4' test", sonarProjectKey: "sora:shared-features-spm", - sonarProjectName: "shared-features-spm" + sonarProjectName: "shared-features-spm", + lintEnable: 'true', + linterFile: './tools/swiftformat/swiftformat', + lintDir: './Sources/', + disableUpdatePods: true, + disableInstallPods: true, + appEnable: false, + sharedFeature: true, + disableSecretScanner: true ) -pipeline.runPipeline() +pipeline.runPipeline('sora')