Assemble as last step and archive the Jenkinsfile
This commit is contained in:
parent
fbf96abbd3
commit
df08092011
1 changed files with 5 additions and 4 deletions
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
|
@ -16,10 +16,6 @@ node {
|
|||
}
|
||||
}
|
||||
|
||||
stage 'assemble'
|
||||
sh "./gradlew clean assemble${flavorCombination}Release"
|
||||
archive 'android/build/outputs/apk/*'
|
||||
|
||||
stage 'lint'
|
||||
try {
|
||||
sh "./gradlew clean lint${flavorCombination}Release"
|
||||
|
@ -34,4 +30,9 @@ node {
|
|||
publishHTML(target:[allowMissing: true, alwaysLinkToLastBuild: true, keepAll: true, reportDir: 'android/build/reports/tests/', reportFiles: "*/index.html", reportName: 'UnitTest'])
|
||||
step([$class: 'JUnitResultArchiver', testResults: 'android/build/test-results/*/*.xml'])
|
||||
|
||||
stage 'assemble'
|
||||
sh "./gradlew clean assemble${flavorCombination}Release"
|
||||
archive 'android/build/outputs/apk/*'
|
||||
archive 'android/build/outputs/mapping/*/release/mapping.txt'
|
||||
|
||||
}
|
Loading…
Reference in a new issue