I am running a docker container on Jenkins. I can't install anything on jenkins, so I did some processing on docker and want to get the results out to the host. If I set an environment variable in the docker container, how do I extract it to my jenkins host?
I can see that I can write the env variable to a file and copy it to the host, but is there another way ?