Hashar has uploaded a new change for review.

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


Change subject: mw-apply-settings: make sure log dir exist
......................................................................

mw-apply-settings: make sure log dir exist

Change-Id: I65b5e28f7216e8c0baad96910083ff8462ce2d27
---
M bin/mw-apply-settings.sh
1 file changed, 5 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/jenkins 
refs/changes/29/90329/1

diff --git a/bin/mw-apply-settings.sh b/bin/mw-apply-settings.sh
index 2eda3bb..c205a1c 100755
--- a/bin/mw-apply-settings.sh
+++ b/bin/mw-apply-settings.sh
@@ -2,10 +2,14 @@
 LOCAL_SETTINGS="$WORKSPACE/LocalSettings.php"
 MEDIAWIKI_D="/srv/slave-scripts/mediawiki/conf.d"
 
+# Setup Junit destination
+LOG_DIR="$WORKSPACE/log"
+
 php "$MEDIAWIKI_D/_join.php" >> "$LOCAL_SETTINGS"
 
 # Copy under /log for archival purposes
-cp "$LOCAL_SETTINGS" "$WORKSPACE/log/"
+mkdir -p "$LOG_DIR"
+cp "$LOCAL_SETTINGS" "$LOG_DIR"
 
 echo "Making sure $LOCAL_SETTINGS is still valid"
 php -l "$LOCAL_SETTINGS"

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I65b5e28f7216e8c0baad96910083ff8462ce2d27
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>

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

Reply via email to