Short Workspace Path

ID: short-workspace-path

Short Workspace Path Plugin

Use shallow directory hierarchy for build workspaces to avoid build failures on filesystems with constrained path length.

The plugin detects path length limitation for given node automatically and chooses to either use default (and potentially long) workspace path or hash based one with controlled length.

Plugin accepts Jenkins-wide configuration property org.jenkinsci.plugins.shortwspath.BUILD_PATH_LENGTH (defaults to 512) representing the desired minimal path length available in the workspace (regardless of the path length to the workspace itself). Whenever default workspace will not leave enough room in path name for the build, workspace path is shortened. Note that this plugin does not provide strong guarantee that BUILD_PATH_LENGTH will be always available, but it tries its best when it would not with the default algorithm.

The plugin has currently no effect on master node and never places short workspaces out of slave's workspace root.

ArchivesGet past versions
Version: 0.3
Requires Jenkins 1.554.1
Installs: 400
This plugin has no labels
Oliver Gondža
Help us improve this page!
This content is served from the Jenkins Wiki the read-only state. We recommend moving the plugin documentation to GitHub, see the guidelines.