Zfilipin has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/130314

Change subject: Export MEDIAWIKI_API_URL when running browser tests
......................................................................

Export MEDIAWIKI_API_URL when running browser tests

There are a lot of failed ContentTranslation tests with error message:

“Environment variable MEDIAWIKI_API_URL must be set in order to create
a target page for this test (SystemExit)”

https://integration.wikimedia.org/ci/view/BrowserTests/job/browsertests-
ContentTranslation-language-stage.wmflabs.org-linux-firefox/17/consoleFu
ll

Change-Id: I99b86e1a8c3cd9d738c2b2a244940e7b8954cf8e
---
M macro.yaml
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/integration/jenkins-job-builder-config 
refs/changes/14/130314/1

diff --git a/macro.yaml b/macro.yaml
index 89513ad..9ba4f5a 100644
--- a/macro.yaml
+++ b/macro.yaml
@@ -5,6 +5,7 @@
           # set up environment variables
           export BROWSER={browser}
           export HEADLESS=true
+          export MEDIAWIKI_API_URL=http://{mediawiki_url}/w/api.php
           export MEDIAWIKI_PASSWORD_VARIABLE={mediawiki_password_variable}
           export MEDIAWIKI_URL=http://{mediawiki_url}/wiki/
           export MEDIAWIKI_USER={mediawiki_user}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I99b86e1a8c3cd9d738c2b2a244940e7b8954cf8e
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins-job-builder-config
Gerrit-Branch: cloudbees
Gerrit-Owner: Zfilipin <zfili...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to