Skip to content

Commit 35e0872

Browse files
committed
Add Android Maestro build
1 parent 1842636 commit 35e0872

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Unreleased
44

55
- added: Kado buy via wire transfer
6+
- added: Allow for Maestro specific iOS and Android builds
67
- changed: Use partners API to determine US state support for Mooopay, Simplex, and Banxa
78
- changed: Conditionalize use of Paybis promoCodes for new users <$1k purchases
89

Jenkinsfile

+15
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ def buildMaestro(String stageName) {
5757
sh 'npm run prepare.ios'
5858
sh "node -r sucrase/register ./scripts/deploy.ts edge ios ${BRANCH_NAME} maestro"
5959
}
60+
if (stageName == 'android' && params.ANDROID_BUILD_MAESTRO) {
61+
echo "Running on ${env.NODE_NAME}"
62+
sh "node -r sucrase/register ./scripts/deploy.ts edge android ${BRANCH_NAME} maestro"
63+
}
6064
}
6165
}
6266
}
@@ -80,6 +84,7 @@ pipeline {
8084
}
8185
parameters {
8286
booleanParam(name: 'ANDROID_BUILD', defaultValue: true, description: 'Build an Android version')
87+
booleanParam(name: 'ANDROID_BUILD_MAESTRO', defaultValue: true, description: 'Build an Android Maestro version')
8388
booleanParam(name: 'IOS_BUILD', defaultValue: true, description: 'Build an iOS version')
8489
booleanParam(name: 'IOS_BUILD_MAESTRO', defaultValue: true, description: 'Build an iOS simulator Maestro version')
8590
booleanParam(name: 'VERBOSE', defaultValue: false, description: 'Complete build log output')
@@ -146,6 +151,16 @@ pipeline {
146151
}
147152
}
148153
}
154+
stage('Android Maestro Build') {
155+
agent { label 'android-build' }
156+
steps {
157+
script {
158+
preBuildStages('Android', global.versionFile)
159+
preTest('Android')
160+
buildMaestro('android')
161+
}
162+
}
163+
}
149164
}
150165
}
151166
}

0 commit comments

Comments
 (0)