A piggy bank of commands, fixes, succinct reviews, some mini articles and technical opinions from a (mostly) Perl developer.

Writing a Jenkins plugin for dummies


This guide is written for Ubuntu

Install Jenkins
  • Follow these steps
  • It will install this file amongst others: /usr/share/jenkins/jenkins.war
  • You may need to start Jenkins on a different port than its default 8080
  • The config is in this file: /etc/default/jenkins
    • There are a list of command-line options at the end of this file
  • You run it with this command:
    • java -jar /usr/share/jenkins/jenkins.war --httpPort=9090
    • (however this doesn't use the config you just edited)
Write a plugin