Jenkins plugin for debian package building
Java
Pull request Compare This branch is 2 commits ahead, 172 commits behind jenkinsci:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings
src/main
.classpath
.gitignore
.project
LICENSE
README.md
pom.xml

README.md

debian-package-builder

debian-package-builder is Jenkins plugin for building debian (.deb) packages. It rocks. really.

To build debian-package-builder:

mvn -Dmaven.test.skip=true

To install the module from commandline

jenkins-cli -s http://JENKINS-HOST:PORT install-plugin target/debian-package-builder.hpi

On your Jenkins host you will need to enable sudo without password for a few commands. Put the following in your sudoers (or /etc/sudoers.d/jenkins if directory exists)

jenkins ALL=(ALL) NOPASSWD: /usr/bin/apt-get
jenkins ALL=(ALL) NOPASSWD: /usr/lib/pbuilder/pbuilder-satisfydepends