Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] where's the open source for hudson jobs such as cdt-master and cdt-verify?

To be able to run the UI tests, you need a display. On Linux, this means you need an X server session with a valid DISPLAY environment variable defined. The easiest and most reliable way I know, is to let the Hudson job create its own display by using Xvnc during the build. To set this up, I usually just log in as the Hudson user on the Hudson machine and execute vnc4server; this sets up the vnc password. This only needs to be done once as far as I know. If you don't want to use Xvnc with Hudson, I haven't tried before but it probably involves either starting the Hudson slave from an existing X session or hard-coding the DISPLAY variable to a display that you know will always exist. But I think using Xvnc is better too because you can run multiple builds on the same machine without worrying.

Hope this helps,
Marc-Andre

________________________________________
From: Justin You [justin.you@xxxxxxxxxxxx]
Sent: Wednesday, 11 November 2015 8:22 PM
To: CDT General developers list.
Cc: Marc-André Laperle; Sergei Shnerson
Subject: RE: [cdt-dev] where's the open source for hudson jobs such as cdt-master and cdt-verify?

Hi Marc:

Thanks! It's the exactly thing what I am looking for.

One question for "Run Xvnc during build" on "Build Environment", what's purpose for this option? Is it absolutely necessary for CDT build and integration testing?

-Justin



-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Marc-André Laperle
Sent: Wednesday, November 11, 2015 12:08 AM
To: CDT General developers list.
Subject: Re: [cdt-dev] where's the open source for hudson jobs such as cdt-master and cdt-verify?

Hi!

Do you mean that you want to see the configuration? I changed both cdt-master and cdt-verify jobs so that anyone can see the configuration now. (Hopefully I didn't break permissions for anyone else!)

Otherwise, we use all available and open source tools. Hudson, Gerrit, Gerrit trigger, maven etc.
Let me know if you have more questions.

Marc-Andre

________________________________________
From: cdt-dev-bounces@xxxxxxxxxxx [cdt-dev-bounces@xxxxxxxxxxx] on behalf of Justin You [justin.you@xxxxxxxxxxxx]
Sent: Tuesday, 10 November 2015 10:48 AM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] where's the open source for hudson jobs such as cdt-master and cdt-verify?

Hi CDT:



CDT has Hudson jobs to build and verify new commits automatically such as https://hudson.eclipse.org/cdt/job/cdt-master/, it's a very nice CI server for CDT development. my question is where's the open source for these Hudson jobs?



I am porting them for our CDT-based product. we use different source control system and same CI server. Thanks in advance.



-Justin
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top