diff options
author | Julien Duraj <julien.duraj@linaro.org> | 2016-07-29 14:45:00 +0100 |
---|---|---|
committer | Vishal Bhoj <vishal.bhoj@linaro.org> | 2016-08-03 17:23:15 +0000 |
commit | 1bf6e0781bf6d5f0d89ffecd12b16915a911d4bc (patch) | |
tree | c58a5f567d856eaf6909bc6a1f6c099e0fd510c5 /linaro-art-tip-build-ARTHostTest.yaml | |
parent | e954e25722b2ff74b6793dcb4c4e19a6c1f1fe81 (diff) |
ART: Fix the groovy scripts for Host and Target test jobs
Change-Id: Id4d3441869446af01f5d3be32e9af8abd49c06fe
Diffstat (limited to 'linaro-art-tip-build-ARTHostTest.yaml')
-rw-r--r-- | linaro-art-tip-build-ARTHostTest.yaml | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/linaro-art-tip-build-ARTHostTest.yaml b/linaro-art-tip-build-ARTHostTest.yaml index 50ab8002d8..435f07d48a 100644 --- a/linaro-art-tip-build-ARTHostTest.yaml +++ b/linaro-art-tip-build-ARTHostTest.yaml @@ -117,31 +117,7 @@ unstable-on-warning: false fail-on-error: false - groovy-postbuild: - script: | - import hudson.model.* - def currentBuild = Thread.currentThread().executable - def description = "" - def matcher = manager.getLogMatcher(".*repo sync failed.*") - if ( matcher?.matches()) { - manager.addShortText("repo sync failed") - } - matcher = manager.getLogMatcher(".*patch merge failed.*") - if ( matcher?.matches()) { - manager.addShortText("merge failed") - } - - matcher = manager.getLogMatcher(".* tests have failed") - if (matcher?.matches()) { - def test =matcher.group(0).split(" ") - manager.listener.logger.println test.length - i=0 - while( i<test.length-3) { - description+="${test[i]} failed<br>" - i++; - } - currentBuild.setDescription(description) - manager.addShortText("Tests failed") - } + script: !include-raw: linaro-art/postbuild.groovy - plot: - title: 'Sync Time' group: 'Time Measurements' |