forked from ferredoxin/QNotified
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
43 lines (37 loc) · 1.09 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Android
# Build your Android project with Gradle.
# Add steps that test, sign, and distribute the APK, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/android
trigger:
branches:
include:
- master
pr: none
pool:
vmImage: 'ubuntu-latest'
steps:
- task: Gradle@2
inputs:
workingDirectory: ''
gradleWrapperFile: 'gradlew'
gradleOptions: '-Xmx3072m'
publishJUnitResults: false
testResultsFiles: '**/TEST-*.xml'
tasks: 'assembleRelease'
- task: AndroidSigning@3
inputs:
apkFiles: '**/*.apk'
apksignerKeystoreFile: 'en-YCH.jks'
apksignerKeystorePassword: '$(keyStorePassword)'
apksignerKeystoreAlias: '$(keyAlias)'
apksignerKeyPassword: '$(keyPassword)'
- task: AppCenterDistribute@3
inputs:
serverEndpoint: 'QNotified'
appSlug: 'QNotifiedDev/QNotified'
appFile: '**/*.apk'
symbolsOption: 'Android'
releaseNotesOption: 'input'
releaseNotesInput: '$(Build.SourceVersionMessage)'
destinationType: 'groups'
distributionGroupId: 'c7a5954e-6861-438f-ad02-fb765d4d889f'