I have a Docker container running and have mounted my directory to the container. The directory is inside the container and I can access the files if I exec into it. In this container I have java code, in which I am executing a Rest call to get the data and it is not working.
I mounted the directory within my jenkins-script with -v $JENKINS_USER_HOME/test/values:/values
When I am executing my rest calls in java, I am always getting the error, that the json can’t be found. I am trying to access a file called person inside the values folder I already tried the following calls:
and none of them are working.
I want to have Get- and PostMapping to this json. IS this even possible like this?