Hello everyone,
I’ve been able to create a few robot test files that run in a docker image and have also successfully created a Jenkins file that takes all my robot files, starts docker image, and runs tests. All of that is great; however, there is one thing I haven’t been able to figure due to my lack of experience.
I want to create a robot test file that can start/stop a docker container while running inside Jenkins. Locally in my computer, I can use the Process library to run docker command from CLI and it works fine. However, from my research, it seems this is not possible when running robot file in Jenkins because you lose access to those container due to security reasons. Essentially, using Run Process
keyword does not work in Jenkins and was wondering if there’s a way I can get around this? I hope this make sense and I would be more than happy to answer any questions. Thank you in advance for your help !