-
-
Notifications
You must be signed in to change notification settings - Fork 86
Jenkins configuration
This wiki page describes Jenkins configuration for current Continuous Integration solution.
Every time Jenkins is triggered - on new commit to an existing Pull Request - the following is being executed:
The configuration is set in app's build.gradle. Android lint configuration file can be found at lint.xml
Jenkins plugin used: Android Lint Plugin
Post-build configuration:
The configuration is set in checkstyle gradle file. More about checkstyle configuration can be found at wiki page: Code style with Checkstyle.
Jenkins plugin used: Checkstyle Plugin
A post-build task is added to parse generated report:
The configuration is set in findbugs gradle file.
Jenkins plugin used: FindBugs Plugin
Post-build task:
The configuration is set in PMD gradle file
Jenkins plugin used: PMD Plugin
This plugin publishes violations from various sources to Pull Request at Github in the form of inline comments.
Jenkins plugin: Violation Comments to GitHub Plugin
Configuration in app's gradle file
Jenkins plugin: JUnit Realtime Test Reporter Plugin
Configuration in jacoco gradle file
Jenkins plugin: JaCoCo Plugin
Values (that are not completely visible in screenshot):
-
Path to class directories:
**/build/intermediates/classes/debug, **/build/tmp/kotlin-classes/debug
-
Exclusion:
**/R.class, **/R$*.class, **/*$ViewInjector*.*, **/BuildConfig.*, **/Manifest*.*, **/*Test*.*, android/**/*.*