aboutsummaryrefslogtreecommitdiff
path: root/linaro-art
diff options
context:
space:
mode:
authorJulien Duraj <julien.duraj@linaro.org>2016-08-31 15:26:07 +0100
committerJulien Duraj <julien.duraj@linaro.org>2016-08-31 15:26:13 +0100
commit89c688e5ab7ef427392b25fecafe1bea44251e65 (patch)
treedae6637f0b234993186e4682e5417ab2d4866e16 /linaro-art
parent6b87b72d4d4a40c7cefaeeaf931b284d8e7110a1 (diff)
ART: groovy: add a warning badge for some jobs
Some target jobs for ART have potential false negatives that we detect using the string "Unable to determine architecture" We want to indicate this by inserting a warning badge in addition to all the other groovy information. Change-Id: I19c237f4fe55b0aba28a90eef2bed8c97d08a5f3
Diffstat (limited to 'linaro-art')
-rw-r--r--linaro-art/postbuild.groovy4
1 files changed, 4 insertions, 0 deletions
diff --git a/linaro-art/postbuild.groovy b/linaro-art/postbuild.groovy
index b215e30f..d0e0613d 100644
--- a/linaro-art/postbuild.groovy
+++ b/linaro-art/postbuild.groovy
@@ -37,6 +37,10 @@ manager.build.logFile.eachLine { line ->
}
}
+if (manager.logContains(".*Unable to determine architecture.*")) {
+ manager.addWarningBadge("Unable to determine architecture bug was triggered.")
+}
+
errorList.each {
manager.addShortText(it, "white", "red", "1px", "grey")
}