boxboat/dockhand-jenkins

Use absolute paths with tmp files/directories

jcantosz opened this issue · 0 comments

Currently when using Utils.withTmpDir or Utils.withTmpFile paths are set in an environment variable, relative to the current location (ie. DIR_PATH=./tmp-${UUID}). This becomes a problem if a script changes directories after the file/directory is created. Temporary files should be created in the workspace folder so they have a consistent reference point