summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <daniel@matrix.org>2016-02-23 15:15:10 +0000
committerDaniel Wagner-Hall <daniel@matrix.org>2016-02-23 15:15:10 +0000
commitf1dd03548f31be2e65e9c37550b5456f4510d52c (patch)
treea33741f1455f17816f14365d0f160405de6261f8
parentMerge pull request #584 from matrix-org/daniel/ephemeralthreepids (diff)
downloadsynapse-f1dd03548f31be2e65e9c37550b5456f4510d52c.tar.xz
Set WORKSPACE if not set
-rwxr-xr-xjenkins.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/jenkins.sh b/jenkins.sh
index ed3bdf80fa..359fd22771 100755
--- a/jenkins.sh
+++ b/jenkins.sh
@@ -1,5 +1,7 @@
 #!/bin/bash -eu
 
+: ${WORKSPACE:="$(pwd)"}
+
 export PYTHONDONTWRITEBYTECODE=yep
 
 # Output test results as junit xml