Hi everyone,
I see two plugins in jenkins to run GUI tests- xvfb and xvnc. I have multiple GUI tests running in parallel. Which one is the best to use?
For xvfb, i need to mention a display offset. I am not sure how things work with xvnc. And what does XAuthority signify?
wrap([$class: 'Xvfb',screen: '1920x1200x24', displayNameOffset: 100]) {
sh "mvn -U clean install"
}
I am looking for a way where I need not specify the display and it auto increments a display by 1 if a display is already taken by some other jenkins job.
Please share how to work it out in case of a declarative pipeline.