I need to run two jenkins' job in parallel but when first one is running the second one fails stating that Server is already active for display 0
I have gone through these two posts but not able to fix:
- Xvfb plugin to run multiple job instances concurrently on Jenkins
- https://www.blazemeter.com/blog/headless-execution-selenium-tests-jenkins
I have export DISPLAY=:99
this line added in my centos 7
profile.
Also I have below configuration for XVFB in jenkins >
1. Manage jenkins > Configure System (Configure global settings and paths.)
2. And then in Job configuration I have:
Please let me know if I am missing anything. Thanks