Skip to content
21 changes: 14 additions & 7 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -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')