Bug 1320078 - Print findbugs report link for automation. r?maliu,ahunt draft
authorSebastian Kaspari <s.kaspari@gmail.com>
Thu, 24 Nov 2016 19:15:28 +0100
changeset 443621 964a63a30b1d2aba3117406964b3abea9ca12eaf
parent 443620 8bf216b53991116c98dcb59afe32a8650f63afae
child 538093 04ab9c4f8d4fa33cb374ae99f38a1fcb5db60875
push id37037
push users.kaspari@gmail.com
push dateThu, 24 Nov 2016 18:41:03 +0000
reviewersmaliu, ahunt
bugs1320078
milestone53.0a1
Bug 1320078 - Print findbugs report link for automation. r?maliu,ahunt MozReview-Commit-ID: KKMYtDyNMkR
mobile/android/app/build.gradle
--- a/mobile/android/app/build.gradle
+++ b/mobile/android/app/build.gradle
@@ -399,16 +399,21 @@ def makeTaskExecutionListener(artifactRo
                 def url = "${artifactRootUrl}/public/android/lint/lint-results-automationDebug.html"
                 println "TEST-UNEXPECTED-FAIL | android-lint | Lint found errors in the project; aborting build. See the report at: $url"
                 break
 
             case ':app:testAutomationDebugUnitTest':
                 def url = "${artifactRootUrl}/public/android/unittest/automationDebug/index.html"
                 println "TEST-UNEXPECTED-FAIL | android-test | There were failing tests. See the report at: $url"
                 break
+
+            case ':app:findbugsAutomationDebug':
+                def url = "${artifactRootUrl}/public/android/findbugs/findbugs-report.html"
+                println "TEST-UNEXPECTED-FAIL | android-findbugs | Findbugs found issues in the project. See the report at: $url"
+                break
             }
         }
     }
 }
 
 // TASK_ID and RUN_ID are provided by docker-worker; see
 // https://docs.taskcluster.net/manual/execution/workers/docker-worker.
 if (System.env.TASK_ID && System.env.RUN_ID) {