Skip to content

Commit

Permalink
bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbtek committed Sep 17, 2015
1 parent ed2ba9b commit 813dc3a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ function main()

source "${appPath}/../../../../../../../../cookbooks/jenkins/attributes/slave.bash"

local -r command="sudo rm -f -r ${JENKINS_WORKSPACE_FOLDER}/workspace"
local -r command="
sudo rm -f -r ${JENKINS_WORKSPACE_FOLDER}/workspace &&
sudo mkdir -p ${JENKINS_WORKSPACE_FOLDER}/workspace
"

"${appPath}/../../../../../../../../tools/run-remote-command.bash" \
--attribute-file "${attributeFile}" \
Expand Down

0 comments on commit 813dc3a

Please sign in to comment.