System testing across multiple crossplatform slaves/nodes?

18 views
Skip to first unread message

Alexander Moriarty

unread,
Aug 4, 2017, 9:08:41 AM8/4/17
to Jenkins Users
Hello,

I'm working with a legacy system which is using Jenkins for automated testing, and attempting to upgrade and modernize it.

The issue is, that it is a large cross platform project. Where a job usually must have at least two nodes at the same time: one big Linux node and one smaller windows node.
For example: start a simulator/emulator on windows, and then start the rest of the software on Linux. In production, the simulator/emulator is replaced with a physical machine.

Currently, the solution has been to set up the Linux nodes as usual Jenkins slaves, and then manually map each executor node to a windows VM... The pool of Windows machines aren't known by Jenkins.
The current situation is and has been working. But you can imagine this doesn't scale dynamically, which is a requirement for the future.
There are some jobs which do not require both a Linux and Windows pair, so while those are run it would be nice to have the pairs not so statically bound to each other.

Work has begun to containerize and port everything to Linux, but in the meantime are there other Jenkins users who have similar requirements?

Thanks,

Alexander Moriarty

Anthony Rabaa

unread,
Aug 7, 2017, 11:32:38 AM8/7/17
to jenkins...@googlegroups.com

Have you considered assigning labels to the nodes?

 

node(“Windows”) {

    // Do some work.

}

 

node(“Linux”) {

    // Do some other work.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ca01f9ed-073b-4682-a0d8-85b607e5d717%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mark Waite

unread,
Aug 7, 2017, 12:09:38 PM8/7/17
to jenkins...@googlegroups.com
The platform labeler plugin will even assign labels automatically by platform.  I use it to spread work across different Linux variants

Reply all
Reply to author
Forward
0 new messages