You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@madlib.apache.org by nk...@apache.org on 2019/09/18 17:25:58 UTC

[madlib] branch master updated: Use -p while creating tmp dir for jenkins build.

This is an automated email from the ASF dual-hosted git repository.

nkak pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/madlib.git


The following commit(s) were added to refs/heads/master by this push:
     new 72df650  Use -p while creating tmp dir for jenkins build.
72df650 is described below

commit 72df65022e9d008579c1273721d96de542241a1f
Author: Nikhil Kak <nk...@pivotal.io>
AuthorDate: Mon Sep 16 13:48:13 2019 -0700

    Use -p while creating tmp dir for jenkins build.
    
    Our jenkins build fails when creating the tmp dir `/tmp`. This commit
    adds a -p flag to the mkdir command to avoid this failure.
---
 tool/jenkins/jenkins_build.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tool/jenkins/jenkins_build.sh b/tool/jenkins/jenkins_build.sh
index 8bd46cc..2ca6942 100755
--- a/tool/jenkins/jenkins_build.sh
+++ b/tool/jenkins/jenkins_build.sh
@@ -81,12 +81,12 @@ EOF
 docker exec madlib bash -c '/build/src/bin/madpack -s mad -p postgres -c postgres/postgres@localhost:5432/postgres install' | tee $workdir/logs/madlib_install.log
 
 cat <<EOF
-docker exec madlib bash -c 'mkdir /tmp'
+docker exec madlib bash -c 'mkdir -p /tmp'
 docker exec madlib bash -c '/build/src/bin/madpack -s mad -p postgres  -c postgres/postgres@localhost:5432/postgres -d /tmp dev-check' | tee $workdir/logs/madlib_dev_check.log
 docker exec madlib bash -c '/build/src/bin/madpack -s mad -p postgres  -c postgres/postgres@localhost:5432/postgres -d /tmp unit-test' | tee -a $workdir/logs/madlib_dev_check.log
 EOF
 
-docker exec madlib bash -c 'mkdir /tmp'
+docker exec madlib bash -c 'mkdir -p /tmp'
 # Run dev check
 docker exec madlib bash -c '/build/src/bin/madpack -s mad -p postgres  -c postgres/postgres@localhost:5432/postgres -d /tmp dev-check' | tee $workdir/logs/madlib_dev_check.log
 # Run unit tests, and append output to dev_check's log file