Connecting a build node to Jenkins on Raspberry Pi 2
So I previously installed Jenkins on my Raspberry Pi 2, and ran my first job through Jenkins. The final obvious step was to get another build node to connect to my Jenkins server so that workload can be offloaded from the Raspberry Pi 2 to another device.
The lovely folks over at Imagination Technologies sent me a MIPS Creator CI20 board a while back, and this seemed like the perfect node to add to my new Jenkins build farm!
So first step, you go to ‘Manage Jenkins’ -> ‘Manage Nodes';
Next, you want to add a new Node (picking whatever name you choose), I went with ci20 for a rather obvious name. My only choice was a ‘Dumb Slave’, so I went with that.
Next up, we need to configure how our Jenkins server running on the Raspberry Pi 2 will connect to the ci20!
I use the stock settings and debian 7 that comes pre-installed on the ci20, so I used launch via ssh, stuck in the username password I use to ssh into the ci20 myself, and lastly I had to set the ‘Remote root directory’ to the ci20 username’s home directory.
On the ci20 itself, I had to run;
For the missing packages I needed on the device.
The last thing I did was edit my previous doboz job to only run on the ci20 label, forcing it to run on the new ci20 build node exclusively. And the results?
That concludes my foray into the Jenkins on Raspberry Pi 2 world - in conclusion it is definitely possible now to run Jenkins on the Raspberry Pi with the beefier new model.