In the Jenkinsfile I would like to use an existing Robot framework docker image. The Docker image that is pretty complete for browser testing is: ppodgorsek/robot-framework
An example of the use is:
docker run \
-v <local path to the reports' folder>:/opt/robotframework/reports:Z \
-v <local path to the test suites' folder>:/opt/robotframework/tests:Z \
ppodgorsek/robot-framework:<version>
How can I start a Robot Framework test?
Solution-1: thanks to @parasit I found 'ppodgorsek/robot-framework'.
You can start a Robot Framework test from a Jenkinsfile with this pipeline code:
If you have these steps (including post), then you can find the results in the famous log.html en report.html files as shown below:
If you face problems showing the RF results, you can execute the followin script in your Jenkins > manage jenkins > script console:
UPDATE-2: using the much smaller Robot Framework image I could start Robot Frameworkrunning. It complains about the chromedriver not installed. This script is shown below. It could be enough when you don't have to test using a browser.
Something like this? I dont have idea how robotframework works :)