Bug 1320078 - Print findbugs report link for automation. r=ahunt,maliu
authorSebastian Kaspari <s.kaspari@gmail.com>
Thu, 24 Nov 2016 19:15:28 +0100
changeset 324606 c19d198344856c479c55b4933201f9cedefbdecd
parent 324605 940a214b71f0b61c48309f70f90b675e34f33860
child 324607 42d401cd93035173e061777bffecb56e7a495433
push id24
push usermaklebus@msu.edu
push dateTue, 20 Dec 2016 03:11:33 +0000
reviewersahunt, maliu
bugs1320078
milestone53.0a1
Bug 1320078 - Print findbugs report link for automation. r=ahunt,maliu 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) {