PassAndroid/Jenkinsfile

20 lines
732 B
Text
Raw Normal View History

def flavorCombination='WithMapsWithAnalyticsForPlay'
stage 'assemble'
2016-03-08 04:04:33 +00:00
node {
checkout scm
sh "./gradlew clean assemble${flavorCombination}"
}
stage 'lint'
node {
checkout scm
sh "./gradlew lint${flavorCombination}Release"
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 {
sh "./gradlew spoon${flavorCombination}"
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
}