Review at https://gerrit.osmocom.org/7721
jenkins-common: move workspace to /tmp/jenkins when build outside jenkins When users building the scripts, the WORKSPACE variable must be set. Increase the overview of created folders and files by using a subdirectory in /tmp Change-Id: I8a139ef2d23dd8115191e51e86ef0346cb97e4cf --- M jenkins-common.sh 1 file changed, 2 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/21/7721/1 diff --git a/jenkins-common.sh b/jenkins-common.sh index 4acc6af..8797790 100644 --- a/jenkins-common.sh +++ b/jenkins-common.sh @@ -21,7 +21,8 @@ # non-jenkins execution: put logs in /tmp if [ "x$WORKSPACE" = "x" ]; then - WORKSPACE=/tmp + WORKSPACE=/tmp/jenkins + mkdir -p "$WORKSPACE" fi # non-jenkins execution: put logs in /tmp -- To view, visit https://gerrit.osmocom.org/7721 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I8a139ef2d23dd8115191e51e86ef0346cb97e4cf Gerrit-PatchSet: 1 Gerrit-Project: docker-playground Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>