Skip to content

Setting up the build server

jantje edited this page Dec 4, 2015 · 1 revision

I use a Jenkins build server to run maven commands to compile the arduino eclipse plugin.
Due to all kinds of reasons I had to redo the setup a few times so I feel it is kind of time to document the as is status.

Install tomcat (these guidelines are based on a 64 but linux machine)
install jenkins in tomcat

Following plugins are used by jenkins:

  • All changes plugin
  • Zentimestamp plugin
  • GitHub plugin
  • GIT client plugin
  • Build Cause Run Condition Plugin
  • Flexible Publish Plugin
  • Run Condition Plugin

Configure the system
Tell it where it can find
java
git (on my nas use /Apps/bin/git)
maven (no need to configure defaults ok)
Publish over FTP (this is currently my baeyens.it ftp server)

find the location where jenkins puts its jobs.
For my nas that is homes/admin/.jenkins/jobs ( if necessary change the rights to the folders)
create the subfolder "arduino eclipse plugin build" and put the config file (you find in the root of the github repository) in this folder
Check the config file for errors. Java not found is likely.

start the build in jenkins

Clone this wiki locally