diff options
author | Julien Duraj <julien.duraj@linaro.org> | 2017-01-31 13:28:11 +0000 |
---|---|---|
committer | Vishal Bhoj <vishal.bhoj@linaro.org> | 2017-02-07 09:28:11 +0000 |
commit | 11091b70007a02ffcd48c02a833cd8fa918a9b1d (patch) | |
tree | 967a1161e21d0e775781f53cc41c77822decca96 /linaro-art-tip-build-MicroBenchmarks-Baseline.yaml | |
parent | fc6ca599404187747e9c362ec57a270db982fd8a (diff) |
ART: Update postbuild groovy scripts
- Cleanup the out of date inline groovy code in some of the jjb's.
- Rename the postbuild.groovy script to tests.groovy as it relates
particularly to host and target tests.
- Add another groovy file: global.groovy that applies to all
linaro-art builds.
Change-Id: Icb624357f5b26a8fc999e00b71fe061297650097
Diffstat (limited to 'linaro-art-tip-build-MicroBenchmarks-Baseline.yaml')
-rw-r--r-- | linaro-art-tip-build-MicroBenchmarks-Baseline.yaml | 35 |
1 files changed, 3 insertions, 32 deletions
diff --git a/linaro-art-tip-build-MicroBenchmarks-Baseline.yaml b/linaro-art-tip-build-MicroBenchmarks-Baseline.yaml index 1aca57ac28..2be546bc38 100644 --- a/linaro-art-tip-build-MicroBenchmarks-Baseline.yaml +++ b/linaro-art-tip-build-MicroBenchmarks-Baseline.yaml @@ -146,38 +146,9 @@ 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(".*error: no devices/emulators found.*") - if ( matcher?.matches()) { - manager.addShortText("No Device Found") - } - matcher = manager.getLogMatcher(".*buildbot-build setup failed.*") - if ( matcher?.matches()) { - manager.addShortText("buildbot-build setup 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/global.groovy - trigger-parameterized-builds: - project: 'post-build-reports' property-file: post_build_reports_parameters |