Zfilipin has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/373103 )
Change subject: WIP Create Jenkins job that runs RelatedArticles Selenium tests daily ...................................................................... WIP Create Jenkins job that runs RelatedArticles Selenium tests daily Creates job selenium-RelatedArticles-jessie. Bug: T171847 Change-Id: Ibeb25fa55ef51230958ed9ae552d6e6e7e64f3fe --- M jjb/mediawiki-extensions.yaml 1 file changed, 42 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/integration/config refs/changes/03/373103/1 diff --git a/jjb/mediawiki-extensions.yaml b/jjb/mediawiki-extensions.yaml index c9f549b..f9c811b 100644 --- a/jjb/mediawiki-extensions.yaml +++ b/jjb/mediawiki-extensions.yaml @@ -427,3 +427,45 @@ jobs: - '{name}-jsduck' - 'mwext-VisualEditor-npm-node-6-jessie' + +# Run RelatedArticles Selenium tests daily targeting beta cluster +# similar to mediawiki-core-qunit-selenium-jessie +- job: + name: 'selenium-RelatedArticles-jessie' + node: ci-jessie-wikimedia + concurrent: true + triggers: + - zuul + properties: + - build-discarder: + days-to-keep: 15 + builders: + - castor-load + - prepare-mediawiki-zuul-project + - qunit-karma + - mw-wdio-nodepool + # Run selenium script if it exists. The localhost vhost is setup by + # qunit-karma already + - shell: | + . /srv/deployment/integration/slave-scripts/bin/mw-set-env-localhost.sh + + cd $MW_INSTALL_PATH + if [ -f ./tests/selenium/wdio.conf.js ]; then + chromedriver --url-base=/wd/hub --port=4444 & + # Make sure it is killed to prevent file descriptors leak + function kill_chromedriver() {{ + killall chromedriver > /dev/null + }} + trap kill_chromedriver EXIT + + ./node_modules/.bin/grunt webdriver:test + fi + - assert-no-mediawiki-errors + publishers: + - castor-save + - archive-log-dir + - junit: + results: 'log/junit*.xml,log/WDIO.xunit*.xml' + # Qunit does not generate Junit file and we might skip selenium + allow-empty-results: true + -- To view, visit https://gerrit.wikimedia.org/r/373103 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ibeb25fa55ef51230958ed9ae552d6e6e7e64f3fe Gerrit-PatchSet: 1 Gerrit-Project: integration/config Gerrit-Branch: master Gerrit-Owner: Zfilipin <zfili...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits