Skip to content

Commit

Permalink
manually delete ws
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebachmeier committed Nov 22, 2024
1 parent 7787cf9 commit 5f66cca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,10 @@ pipeline {
// Clean up
sh "${ACTIVATE} && make clean"
sh "rm -rf ${CONDA_ENV_PATH}"
cleanWs()
sh """
WORKSPACE_PARENT=$(dirname ${WORKSPACE})
find '$WORKSPACE_PARENT' -type d -name '$JOB_NAME*' -exec rm -rf {} +
"""
}
} // post bracket
} // Python matrix bracket
Expand Down

0 comments on commit 5f66cca

Please sign in to comment.