Merge lp://staging/~twom/ols-jenkaas/junit-for-sca into lp://staging/ols-jenkaas
Proposed by
Tom Wardill
Status: | Merged |
---|---|
Merged at revision: | 566 |
Proposed branch: | lp://staging/~twom/ols-jenkaas/junit-for-sca |
Merge into: | lp://staging/ols-jenkaas |
Diff against target: |
14 lines (+4/-0) 1 file modified
jobs/software-center-agent.yaml (+4/-0) |
To merge this branch: | bzr merge lp://staging/~twom/ols-jenkaas/junit-for-sca |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Manrique (community) | Approve | ||
Review via email:
|
Commit message
Add a junit publisher for SCA
Description of the change
Add a junit publisher for SCA, using the workdir/results/ dir
To post a comment you must log in.
I think the indentation is a bit off, and you'll need to allow empty results, otherwise if for some reason the subunit data is not generated, the job will fail, which is annoying.
Example from the docker projects (and this is tested working):
=== modified file jobs/project- docker. yaml docker. yaml 2018-02-28 17:22:12 +0000 docker. yaml 2018-03-13 15:55:57 +0000
property- file: build-params.prop
node- parameters: true
condition : 'UNSTABLE_ OR_BETTER' /reports/ *.xml' results: true
--- jobs/project-
+++ jobs/project-
@@ -59,6 +59,10 @@
+ - junit:
+ results: '{workdir}
+ allow-empty-
+
Also - I see "results" in your job specification, whereas the Makefile outputs to "reports" (which we said is good because it's also already .gitignored). so that'll need an update too.