{"id":3354,"date":"2025-11-12T16:56:55","date_gmt":"2025-11-12T09:56:55","guid":{"rendered":"https:\/\/portal-atlasx.cdg.co.th\/home\/?post_type=docs&#038;p=3354"},"modified":"2025-11-12T16:56:55","modified_gmt":"2025-11-12T09:56:55","slug":"jenkinsfile-configuration","status":"publish","type":"docs","link":"https:\/\/portal-atlasx.cdg.co.th\/home\/docs\/ci-cd-for-mobile\/ios\/jenkinsfile-configuration\/","title":{"rendered":"Jenkinsfile Configuration"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\" id=\"jenkinsfile-configuration\">Jenkinsfile Configuration<\/h1>\n\n\n\n<p>\u0e43\u0e19\u0e44\u0e1f\u0e25\u0e4c Jenkinsfile \u0e08\u0e30\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e04\u0e48\u0e32\u0e15\u0e48\u0e32\u0e07\u0e46 \u0e44\u0e14\u0e49 \u0e42\u0e14\u0e22\u0e08\u0e30\u0e21\u0e35\u0e01\u0e32\u0e23\u0e41\u0e1a\u0e48\u0e07\u0e04\u0e48\u0e32\u0e15\u0e48\u0e32\u0e07\u0e46 \u0e2d\u0e2d\u0e01\u0e40\u0e1b\u0e47\u0e19 3 \u0e2a\u0e48\u0e27\u0e19<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"1-project-configuration\">1. Project Configuration<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Parameter<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td><code>PROJECT_BRANCH_NAME<\/code><\/td><td>\u0e0a\u0e37\u0e48\u0e2d Git branch \u0e17\u0e35\u0e48\u0e21\u0e35&nbsp;<code>Jenkinsfile<\/code>&nbsp;(\u0e04\u0e48\u0e32\u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e49\u0e19:&nbsp;<code>jenkins<\/code>)<\/td><\/tr><tr><td><code>PROJECT_URL<\/code><\/td><td>Git url \u0e02\u0e2d\u0e07\u0e42\u0e1b\u0e23\u0e40\u0e08\u0e01\u0e15\u0e4c<\/td><\/tr><tr><td><code>PROJECT_KEY<\/code><\/td><td>\u0e0a\u0e37\u0e48\u0e2d\u0e42\u0e1b\u0e23\u0e40\u0e08\u0e01\u0e15\u0e4c\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e23\u0e30\u0e1a\u0e38\u0e43\u0e19\u0e23\u0e32\u0e22\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07 SonarQube report \u0e41\u0e25\u0e30\u0e04\u0e27\u0e23\u0e40\u0e1b\u0e47\u0e19\u0e0a\u0e37\u0e48\u0e2d\u0e17\u0e35\u0e48\u0e44\u0e21\u0e48\u0e0b\u0e49\u0e33 (\u0e40\u0e0a\u0e48\u0e19&nbsp;<code>MyMobileApp<\/code>)<\/td><\/tr><tr><td><code>PROJECT_BASE_DIR<\/code><\/td><td>Base project directory \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e43\u0e0a\u0e49 path \u0e43\u0e19\u0e01\u0e32\u0e23\u0e23\u0e31\u0e19\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e15\u0e48\u0e32\u0e07 \u0e46<\/td><\/tr><tr><td><code>PROJECT_VERSION<\/code><\/td><td>\u0e40\u0e27\u0e2d\u0e23\u0e4c\u0e0a\u0e31\u0e48\u0e19\u0e02\u0e2d\u0e07\u0e42\u0e1b\u0e23\u0e40\u0e08\u0e01\u0e15\u0e4c\u0e17\u0e35\u0e48\u0e40\u0e2d\u0e32\u0e44\u0e27\u0e49\u0e23\u0e30\u0e1a\u0e38\u0e43\u0e19\u0e23\u0e32\u0e22\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07 SonarQube report<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"2-xcode-project-configuration\">2. Xcode Project Configuration<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Parameter<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td><code>SOURCE_DIRECTORY<\/code><\/td><td>\u0e44\u0e14\u0e40\u0e23\u0e01\u0e17\u0e2d\u0e23\u0e35\u0e48\u0e17\u0e35\u0e48\u0e21\u0e35\u0e44\u0e1f\u0e25\u0e4c .xcodeproj \u0e2b\u0e23\u0e37\u0e2d .xcworkspace<\/td><\/tr><tr><td><code>XCODE_PROJECT_FILE<\/code><\/td><td>\u0e0a\u0e37\u0e48\u0e2d\u0e44\u0e1f\u0e25\u0e4c xcode project (\u0e40\u0e0a\u0e48\u0e19&nbsp;<code>MyProject.xcodeproj<\/code>)<\/td><\/tr><tr><td><code>XCODE_WORKSPACE_FILE<\/code><\/td><td>\u0e0a\u0e37\u0e48\u0e2d\u0e44\u0e1f\u0e25\u0e4c xcode workspace (\u0e40\u0e0a\u0e48\u0e19&nbsp;<code>MyProject.xcworkspace<\/code>)<\/td><\/tr><tr><td><code>XCODE_APP_SCHEME<\/code><\/td><td>\u0e0a\u0e37\u0e48\u0e2d scheme \u0e02\u0e2d\u0e07 xcode \u0e17\u0e35\u0e48\u0e08\u0e30 build<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"3-app-store-configuration\">3. App Store Configuration<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Parameter<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td><code>APP_IDENTIFIER<\/code><\/td><td>\u0e0a\u0e37\u0e48\u0e2d identifier \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e19\u0e33\u0e02\u0e36\u0e49\u0e19 App Store \u0e41\u0e25\u0e30\u0e04\u0e27\u0e23\u0e40\u0e1b\u0e47\u0e19\u0e0a\u0e37\u0e48\u0e2d\u0e17\u0e35\u0e48\u0e44\u0e21\u0e48\u0e0b\u0e49\u0e33 (\u0e40\u0e0a\u0e48\u0e19&nbsp;<code>com.demo.myapplication<\/code>)<\/td><\/tr><tr><td><code>FASTLANE_ITC_TEAM_NAME<\/code><\/td><td>\u0e0a\u0e37\u0e48\u0e2d\u0e02\u0e2d\u0e07 itc team \u0e43\u0e19\u0e01\u0e32\u0e23 develop (\u0e43\u0e0a\u0e49\u0e43\u0e19 app store)<\/td><\/tr><tr><td><code>FASTLANE_TEAM_NAME<\/code><\/td><td>\u0e0a\u0e37\u0e48\u0e2d\u0e02\u0e2d\u0e07 team \u0e43\u0e19\u0e01\u0e32\u0e23 develop (\u0e43\u0e0a\u0e49\u0e43\u0e19 app store)<\/td><\/tr><tr><td><code>IS_SCREENSHOT_UPDATE<\/code><\/td><td>Flag \u0e43\u0e19\u0e01\u0e32\u0e23\u0e17\u0e33 screenshot (true \u0e04\u0e37\u0e2d\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e17\u0e33 screenshot)<\/td><\/tr><tr><td><code>IS_IPHONE_PORTRAIT<\/code><\/td><td>Flag \u0e01\u0e32\u0e23\u0e15\u0e31\u0e49\u0e07 orientation \u0e43\u0e19\u0e01\u0e32\u0e23\u0e17\u0e33\u0e01\u0e23\u0e2d\u0e1a screenshot \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e02\u0e19\u0e32\u0e14\u0e2b\u0e19\u0e49\u0e32\u0e08\u0e2d iphone (true \u0e04\u0e37\u0e2d\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e17\u0e33\u0e43\u0e19\u0e41\u0e19\u0e27\u0e15\u0e31\u0e49\u0e07)<\/td><\/tr><tr><td><code>IS_IPAD_PORTRAIT<\/code><\/td><td>Flag \u0e01\u0e32\u0e23\u0e15\u0e31\u0e49\u0e07 orientation \u0e43\u0e19\u0e01\u0e32\u0e23\u0e17\u0e33\u0e01\u0e23\u0e2d\u0e1a screenshot \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e02\u0e19\u0e32\u0e14\u0e2b\u0e19\u0e49\u0e32\u0e08\u0e2d ipad (true \u0e04\u0e37\u0e2d\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e17\u0e33\u0e43\u0e19\u0e41\u0e19\u0e27\u0e15\u0e31\u0e49\u0e07)<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"featured_media":0,"parent":3350,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"nav_title":"","positive":"","negative":"","footnotes":""},"docs_category":[],"class_list":["post-3354","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/portal-atlasx.cdg.co.th\/home\/wp-json\/wp\/v2\/docs\/3354","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/portal-atlasx.cdg.co.th\/home\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/portal-atlasx.cdg.co.th\/home\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/portal-atlasx.cdg.co.th\/home\/wp-json\/wp\/v2\/comments?post=3354"}],"version-history":[{"count":2,"href":"https:\/\/portal-atlasx.cdg.co.th\/home\/wp-json\/wp\/v2\/docs\/3354\/revisions"}],"predecessor-version":[{"id":3356,"href":"https:\/\/portal-atlasx.cdg.co.th\/home\/wp-json\/wp\/v2\/docs\/3354\/revisions\/3356"}],"up":[{"embeddable":true,"href":"https:\/\/portal-atlasx.cdg.co.th\/home\/wp-json\/wp\/v2\/docs\/3350"}],"wp:attachment":[{"href":"https:\/\/portal-atlasx.cdg.co.th\/home\/wp-json\/wp\/v2\/media?parent=3354"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/portal-atlasx.cdg.co.th\/home\/wp-json\/wp\/v2\/docs_category?post=3354"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}