Skip to content

Instantly share code, notes, and snippets.

@yasiralijaved
Last active May 2, 2018 17:33
Show Gist options
  • Save yasiralijaved/a8757cf57d570f37fceda1a9b649b756 to your computer and use it in GitHub Desktop.
Save yasiralijaved/a8757cf57d570f37fceda1a9b649b756 to your computer and use it in GitHub Desktop.
app level build.gradle file to create Gradle's custom task "inernalQADist" that Jenkins calls to build and distribute the apk and also send the notification to a Slack Channel for Internal QA Team
// Used by Jenkins to distribute apk among Internal Testers via Fabric Beta
task internalQADist (type: GradleBuild) {
group 'MyApp Distribution'
description 'Task for Jenkins to distribute Build for Internal QA'
tasks = ['clean',
'cleanBuildCache',
'assembleInternalQA',
'crashlyticsUploadDistributionInternalQA']
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment