Set up a new Windows CI node

William Woodall edited this page Aug 25, 2018 · 1 revision

Note: See this older (private) document for previous instructions:

https://docs.google.com/document/d/1SmmWa7MVnwjmMw9XJF33-fsa0dtkYj2AeEXBa8BCsYs/edit

Install and Update Windows 10

We use the normal Windows 10 version, not the enterprise, but other than that we just do system updates and use default settings otherwise.

Install Dependencies for ROS 2

Follow our Windows "from source" installation instructions:

https://github.com/ros2/ros2/wiki/Windows-Development-Setup

Setup git

Ensure that the git installation has a (garbage) email and name, otherwise it will fail if it ever needs to make merge commits when merging branches with "master".

Note that this must be done in the context of the "System" user, which is what the Jenkins service will run as.

This is all pieced together from a couple of pages here:

Once you are the system user, set the git config:

> git config --global user.email "noreply@osrfoundation.org"
> git config --global user.name "nobody"

Setup Jenkins Agent

Download and install Java from Oracle:

https://java.com/en/download/

Create the C:\J folder.

Go to http://ci.ros2.org and select: Manage Jenkins -> Manage Nodes -> New node

Copy an existing node and choose a working windows node (at the time of the writing Windshield or Portable), fill in all the description fields, set the label to “windows slave” and save.

Hit the "launch" button to download the "Java Web Start App" and save it on the desktop.

Open an Administrator cmd.exe and then:

> cd \path\to\downloaded\file
> .\slave-agent.jnlp

Once open, go to File->"Install as a Service". Then you can close the slave agent as it will start on boot.

Install RTI Connext

Download and install Connext binary:

http://www.rti.com/downloads/connext-files.html

Make sure to also install the security plugins.

Download the license file from our private github repository:

https://github.com/osrf/rticonnextdds-src/tree/30adec34dbaf1445914ff9e003640b0c50ab9969

Run the RTI launcher application and point it at the license file.

Finally, just need to reboot to be sure the node comes online as expected.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.