Skip to content

Commit

Permalink
Merge pull request #48 from stude1/patch-1
Browse files Browse the repository at this point in the history
Update jenkins.md
  • Loading branch information
manykarim authored May 15, 2024
2 parents 34cbc5d + 0381dbb commit 50c6572
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion website/docs/using_rf_in_ci_systems/ci/jenkins.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ This is related especially to the use of Browser library which requires installa

These are steps that needs to be done by the person administrating the Jenkins agents.
- Install all the tools that are needed for running the tests: nodejs, python 3.x, Robot Framework, Browser library
- Set ```PLAYWRIGHT_BROWSERS_PATH``` to point where you want to install browsers
- Execute ```rfbrowser init``` to get the base setup for Browser library. Note that you still need to execute it with Jenkins user as well, see below.

### Preparing the Jenkins configuration file
Expand All @@ -133,6 +134,6 @@ These are steps you need to have in your Jenkins configuration. I recommend putt
- ```npm config set registry https://local-site-for-node-modules``` <-- here you need a server that is providing all required node modules; if it doesn't exist proxy config might work as well
- Additional commands that might be needed could be ```npm config set strict-ssl false``` or ```npm config set always-auth true```depending how the server is configured
- Then run ```rfbrowser init --skip-browsers``` to avoid the installation of browsers that may appear hard over the firewall
- ... and use instead the ones installed by root when the agent was initialised: ```export PLAYWRIGHT_BROWSERS_PATH=/home/jenkins/.cache/ms-playwright````
- ... and use instead the ones installed by root when the agent was initialised by pointing with ```PLAYWRIGHT_BROWSERS_PATH```` to the location defined

Now you should be ready to execute tests.

0 comments on commit 50c6572

Please sign in to comment.