-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile
26 lines (19 loc) · 981 Bytes
/
Jenkinsfile
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
#!groovy
properties(
[
buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '10')),
[$class: 'CopyArtifactPermissionProperty', projectNames: '*'],
pipelineTriggers([[$class: 'PeriodicFolderTrigger', interval: '1d']])
]
)
node {
stage "Prep"
deleteDir()
def gradle = tool 'gradle'
checkout scm
stage "Compile"
sh "${gradle}/bin/gradle assemble"
sh "${gradle}/bin/gradle distZip"
sh "find"
archive "build/outputs/apk/*.apk"
}