We have a jenkins installation with subordinate slaves, but somehow not all artifacts are accessible from jenkins.
Our setup:
- Jenkins Master runs on a single virtual machine
- setting up multiple Docker hosts on different virtual machines
- We use php template
- Docker containers are configured to run all the tests required for our projects.
- When the project is built, the docker container is deployed on one of the Docker hosts, tests are performed, the finger results are copied back to the host, the docker container is attached to the image, and the working container is destroyed.
- We use the “copy to slave plugin” to copy our build directory from the slave to the master so that all necessary artifacts are in the main Jenkins.
The problem is that when the assembly is complete, we cannot view the files of the workspace (which we copied with the copy to the subordinate plugin). We also cannot refer to graphic files that have been copied to the main one.
<img type="image/svg+xml" height="300" src="ws/build/pdepend/overview-pyramid.svg" width="500"></img>
<img type="image/svg+xml" height="300" src="ws/build/pdepend/dependencies.svg" width="500"></img>
However, we can see these images during assembly when the docker container is still running.
What are we missing?
source
share