Jenkins_Pipeline_Library/Jenkinsfile_dev
2025-12-25 12:26:18 +08:00

31 lines
2.6 KiB
Plaintext

//=================================================================
// Byway Studios Inc. Confidential Information.
// Copyright Byway Studios Inc. All rights reserved
//=================================================================
// The library source code is located at //DevOps/Jenkinsfiles
// The configuration is done in Jenkins -> Manage Jenkins -> Configure System -> Global Pipeline Libraries
@Library(["common-shared-library", "baseballbattle-shared-library"]) _
petHomePipeline name: "baseballbattle", // the name of the project used to identify in many places *including sky*
branch: "//Projects/CreativeCrew/baseballbattle/dev", // the code branch to checkout on Perforce
branchConfig: "dev", // the current code branch; dev, stable, etc
rootDir: "//Projects/CreativeCrew/baseballbattle/dev", // root directory for your code (not a virtual stream)
iOSScript: "ios_build_dev_development.sh", // name of the iOS build script to run
serverConfigurations: "dev", // semicolon separated, example: "dev;stable;prod"
alwaysClearPackageCache: false, // always clear the Library/PackageCache before running Unity commands
devBucket: "hothead-baseballbattle-dev", // s3 dev bucket
winbakeLabel: "windows_2022", // optional node labels. Valid entries: macbakeLabel, linuxbakeLabel, winbakeLabel, syncLabel
macbakeLabel: "mac_2022", // optional node labels. Valid entries: macbakeLabel, linuxbakeLabel, winbakeLabel, syncLabel
appcenterlinuxbakeLabel: "baseballbattle-jpt-linuxbake01",
slackChannel: "super-hit-baseball-jenkins", // channel to send notifications to
alwaysEmailList: "", // emails to always send notifications to; space separated list
appCenterUpload: true,
appCenterParams: '[{ "appCenterToken": "1357ac0bd4b04fc74ced7a95720d592e451f98b8", "appCenterAppId": "Hothead-Games/Super-Hit-Baseball-Android-Dev-Dev-Debug", "appCenterGroup": "Collaborators", "filePathMatch": "Dev_Android", "fileNameMatch": "_google_dev_", "fileTypeMatch": "apk" }, { "appCenterToken": "29aff98b9cff8aadff82e8ecec6f8bda8933e6c7", "appCenterAppId": "Hothead-Games/Super-Hit-Baseball-iOS-Dev-Dev-Debug", "appCenterGroup": "Collaborators", "filePathMatch": "Dev_iOS", "fileNameMatch": "_dev_DevMode_devServer_enterprise_", "fileTypeMatch": "ipa" }]',
// prod-specific flags
uploadToProd: false, // uploads CDN and code packages to prod
buildFinalConfig: false, // build the 'final' configuration
prodBucket: "hothead-baseballbattle-prod", // s3 prod bucket
// baseball custom params
slackWebhook: "https://hooks.slack.com/services/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" // used by CDN Upload portion of script for reporting