2016-03-16 08:53:39 +00:00
|
|
|
def flavorCombination='WithMapsWithAnalyticsForPlay'
|
|
|
|
|
2016-03-15 07:05:07 +00:00
|
|
|
stage 'assemble'
|
2016-03-08 04:04:33 +00:00
|
|
|
node {
|
|
|
|
checkout scm
|
2016-03-16 08:53:39 +00:00
|
|
|
sh "./gradlew clean assemble${flavorCombination}"
|
2016-03-15 07:05:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
stage 'lint'
|
|
|
|
node {
|
|
|
|
checkout scm
|
2016-03-16 08:53:39 +00:00
|
|
|
sh "./gradlew lint${flavorCombination}Release"
|
2015-12-20 18:11:06 +00:00
|
|
|
publishHTML(target:[allowMissing: true, alwaysLinkToLastBuild: true, keepAll: true, reportDir: 'android/build/outputs/', reportFiles: 'lint-results-${flavorCombination}Release.html', reportName: 'Lint reports'])
|
2016-03-08 04:04:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
stage 'UITest'
|
|
|
|
node {
|
2015-12-20 18:11:06 +00:00
|
|
|
sh "./gradlew spoon${flavorCombination}"
|
2016-03-16 08:53:39 +00:00
|
|
|
publishHTML(target:[allowMissing: true, alwaysLinkToLastBuild: true, keepAll: true, reportDir: 'android/build/spoon-output/${flavorCombination}DebugAndroidTest/', reportFiles: 'index.html', reportName: 'Spoon reports'])
|
2016-03-08 04:04:33 +00:00
|
|
|
}
|