Xvfb or Xvnc for GUI tests in jenkins

11 views
Skip to first unread message

Sakshi Arora

unread,
Jun 28, 2019, 7:49:02 AM6/28/19
to jenkins...@googlegroups.com

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.

Thanks & Regards,
Sakshi Arora

Sakshi Arora

unread,
Jul 2, 2019, 2:40:10 AM7/2/19
to jenkins...@googlegroups.com
Hi All,

Please let me know if you have any suggestions on this.

Thanks & Regards,
Sakshi Arora


Reply all
Reply to author
Forward
0 new messages