jenkins-bot has submitted this change and it was merged.
Change subject: debian-glue: lintian now fails instead of UNSTABLE
......................................................................
debian-glue: lintian now fails instead of UNSTABLE
Switch the lintian publisher from junit to xunit. The later would fail
the build whenever a test fail regardless of the status of the previous
build (which is usually from a random patchset/different repo).
That should make debian-glue to mark the build as FAILURE whenever one
lintian issue is encountered.
Change-Id: I3202fbd5185b04f19f92c688937befd749fb7f18
---
M jjb/operations-debs.yaml
1 file changed, 9 insertions(+), 4 deletions(-)
Approvals:
Hashar: Looks good to me, approved
jenkins-bot: Verified
diff --git a/jjb/operations-debs.yaml b/jjb/operations-debs.yaml
index 9bb1692..8446eb3 100644
--- a/jjb/operations-debs.yaml
+++ b/jjb/operations-debs.yaml
@@ -126,10 +126,15 @@
- debian-glue-lintian
- debian-glue-piuparts
publishers:
- # FIXME should switch to xunit publisher to get rid of UNSTABLE status
- # since on Gerrit patchset the previous build is most probably unrelated.
- - junit:
- results: 'lintian-*.xml'
+ - xunit:
+ thresholdsmode: 'number'
+ thresholds:
+ - failed:
+ # Has to be set explicitly for "junit" type
+ failure: 0
+ types:
+ - junit:
+ pattern: 'lintian-*.xml'
# FIXME should convert UNSTABLE to FAILED.
- tap:
results: piuparts.tap
--
To view, visit https://gerrit.wikimedia.org/r/301355
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I3202fbd5185b04f19f92c688937befd749fb7f18
Gerrit-PatchSet: 2
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: Paladox <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits