summary refs log tree commit diff
path: root/jenkins-postgres.sh
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-03-03 15:42:07 +0000
committerErik Johnston <erik@matrix.org>2016-03-03 16:26:38 +0000
commit7678ec3f9b9a529c7d8c8aa8a38572c5cf2283d6 (patch)
treec06aadd95836df26b109f553bac4da44784db460 /jenkins-postgres.sh
parentAdd jenkins-postgres.sh (diff)
downloadsynapse-7678ec3f9b9a529c7d8c8aa8a38572c5cf2283d6.tar.xz
Mkdir
Diffstat (limited to 'jenkins-postgres.sh')
-rwxr-xr-xjenkins-postgres.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/jenkins-postgres.sh b/jenkins-postgres.sh
index 7dca840e39..1708cbfaaa 100755
--- a/jenkins-postgres.sh
+++ b/jenkins-postgres.sh
@@ -58,6 +58,9 @@ if [[ -z "$POSTGRES_DB_2" ]]; then
     exit 1
 fi
 
+mkdir -p "localhost-$(($PORT_BASE + 1))"
+mkdir -p "localhost-$(($PORT_BASE + 2))"
+
 cat > localhost-$(($PORT_BASE + 1))/database.yaml << EOF
 name: psycopg2
 args: