I'm using Jenkins to build our companies Android application. In the gradle.build file, I have specified two separate types of build, debug, and production.
buildTypes {
//TODO fix this so that signing works with release version
debug {
buildConfigField "boolean", "RELEASE", "false"
}
release {
buildConfigField "boolean", "RELEASE", "true"
}
}
How can I manually trigger Jenkins to build the release version?
Thanks, -Mark
Use a parameterized build - the parameter value will be available as an environment variable that you can test in your build file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With