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

Change subject: qunit macro: Make log/ directory writable instead of just the 
file
......................................................................


qunit macro: Make log/ directory writable instead of just the file

This makes it easier to configure more mw log files without
needing to touch and chmod each.

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

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



diff --git a/macro.yaml b/macro.yaml
index 5d64010..56a5a27 100644
--- a/macro.yaml
+++ b/macro.yaml
@@ -252,9 +252,8 @@
         # mediawiki/conf.d/00_set_debug_log.php cant initialize the
         # mw-debug-www.log file since it lacks jenkins-slave permissions.
         mkdir -p "$WORKSPACE"/log
-        touch "$WORKSPACE"/log/mw-debug-www.log
         # Make it world writable
-        chmod a+w "$WORKSPACE"/log/mw-debug-www.log
+        chmod 777 "$WORKSPACE"/log
 
         # Make sure to compress MediaWiki log dir after phpunit has ran
         function compress_log_dir() {{

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I8c892abc46ed57f4a881f2c56bb4abf7dbea6224
Gerrit-PatchSet: 3
Gerrit-Project: integration/jenkins-job-builder-config
Gerrit-Branch: master
Gerrit-Owner: Krinkle <krinklem...@gmail.com>
Gerrit-Reviewer: Hashar <has...@free.fr>
Gerrit-Reviewer: Krinkle <krinklem...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to