I am having a Master slave setup in jenkins, where all of my slave machines are docker slaves.
I am using Yet another docker plugin to configure these slaves. All my jobs are passing successfully on the slave nodes, but I cannot view the workspace from the jenkins UI. Is this because the container gets destroyed after the build is getting executed successfully? If yes, then what is a work around to view the workspace.
docker run -it -v host-dir:container-dir $image-nameotherwise it will not preserver the workspace. This feature is calledVolume mountin docker. Thanks - chintan thakar