You are browsing a read-only backup copy of Wikitech. The live site can be found at

Nova Resource:Integration/Jenkins Plugin

From Wikitech-static
Jump to navigation Jump to search
  • Machine
    • Create Ubuntu Precise instance, e.g. integration-dev-precise (because Jenkins runs on gallium which runs Precise)
  • Source code
    • Set up a directory with the source code
    • $ cd ~
    • $ git clone cd git-client-plugin
    • $ git checkout git-client-1.4.6+wmf1
  • Dependencies
    • $ sudo apt-get install maven (Jenkins plugins need Maven 3.x)
    • $ sudo apt-get install default-jdk (mvn install threw "Could not find artifact com.sun:tools:jar:1.5 at specified", because by default we ship JRE instead of JDK.)
  • Build
    • $ cd path/to/jenkins-plugin-source
    • $ mvn install
  • Deploy