jenkins-bot has submitted this change and it was merged.

Change subject: [PoolCounter] run the cucumber test suite
......................................................................


[PoolCounter] run the cucumber test suite

Install cucumber with bundler
Add castor support
Run 'make test' in the bundler context so cucumber can be found.

Force cucumber color by setting env variable AUTOTEST.

Change-Id: Ia04567f43e58c22ed7bd991fee8df7d275a801bb
---
M jjb/mediawiki-extensions.yaml
1 file changed, 11 insertions(+), 0 deletions(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/jjb/mediawiki-extensions.yaml b/jjb/mediawiki-extensions.yaml
index 529b5c9..e9f4f3f 100644
--- a/jjb/mediawiki-extensions.yaml
+++ b/jjb/mediawiki-extensions.yaml
@@ -304,12 +304,23 @@
     triggers:
      - zuul
     builders:
+     - castor-load
      - shell: |
         cd daemon
         make
+     - shell: |
+         # Install to BUNDLE_PATH, injected by Zuul
+         bundle install --clean
+         cd daemon
+
+         # AUTOTEST is recognized by cucumber ANSI formatter to force color
+         # output on non TTY.
+         export AUTOTEST=1
+         bundle exec make test
     publishers:
      - archive:
          artifacts: daemon/poolcounterd
+     - castor-save
 
 - job:
     name: 'mwext-VisualEditor-publish'

-- 
To view, visit https://gerrit.wikimedia.org/r/314675
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia04567f43e58c22ed7bd991fee8df7d275a801bb
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

Reply via email to