Jump to content

Nova Resource:Integration/Jenkins Plugin

From Wikitech
This was to workaround an issue with Jenkins git client plugin. Solved upstream with 1.6.4 and we upgraded May 28th 2015 bug T100655. Thus this is no more needed.
  • 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 git@github.com:wikimedia/git-client-plugin.git&& 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

References