Skip to content

Conversation

maass-tv
Copy link

@maass-tv maass-tv commented Jun 9, 2021

On Windows, it is not possible to mount host directories to a subfolder
of a non-C: drive. Due to this restriction, having a workspace on
another drive will make the docker run execution fail since the plugin
tries to map the workspace into the container.

This fixes that by collecting all the non-C: drive volume mappings and
handling those explicitly by mapping the entire drive into the
container.

@maass-tv maass-tv force-pushed the fix_windows_mount branch 2 times, most recently from 4e271bf to b9fafa4 Compare June 9, 2021 09:25
On Windows, it is not possible to mount host directories to a subfolder
of a non-C: drive. Due to this restriction, having a workspace on
another drive will make the docker run execution fail since the plugin
tries to map the workspace into the container.

This fixes that by collecting all the non-C: drive volume mappings and
handling those explicitly by mapping the entire drive into the
container.
@maass-tv maass-tv force-pushed the fix_windows_mount branch from b9fafa4 to 4494cf5 Compare June 9, 2021 09:37
@MarkRx
Copy link
Contributor

MarkRx commented Jan 3, 2025

See also JENKINS-74912

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants