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

Change subject: Upload the language screenshots
......................................................................


Upload the language screenshots

Paired with: Vikas Yaligar
Bug: 62737

Change-Id: I6505f7be25ef7552db688f0c2b41d43905916646
---
M macro.yaml
1 file changed, 5 insertions(+), 0 deletions(-)

Approvals:
  Zfilipin: Looks good to me, approved
  Vikassy: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/macro.yaml b/macro.yaml
index f0d1d13..a760c0d 100644
--- a/macro.yaml
+++ b/macro.yaml
@@ -98,6 +98,11 @@
             $CUCUMBER_EXTRA_PARAMETERS \
             || (echo -e "\nJob has failed (exit code: $?)."; false)
 
+          if [[ ! -z $LANGUAGE_SCREENSHOT_CODE ]]; then
+            export 
MEDIAWIKI_API_UPLOAD_URL=http://commons.wikimedia.beta.wmflabs.org/w/api.php
+            "$WORKSPACE"/vendor/bin/bundle exec ruby1.9.1 upload.rb
+          fi
+
 - publisher:
     name: browsertests-irc
     publishers:

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I6505f7be25ef7552db688f0c2b41d43905916646
Gerrit-PatchSet: 4
Gerrit-Project: integration/jenkins-job-builder-config
Gerrit-Branch: cloudbees
Gerrit-Owner: Zfilipin <[email protected]>
Gerrit-Reviewer: Amire80 <[email protected]>
Gerrit-Reviewer: Cmcmahon <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: Vikassy <[email protected]>
Gerrit-Reviewer: Zfilipin <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to