This plugin helps building debian (.deb) packages
Installing this plugin contributes following:
The plugin uses global GPG key to build and sign .deb packages. It is configured in the Debian package builder section of the global configuration. The parameter names are pretty much self-descriptive:
Debian package publisher section configures available debian repositories to publish packages to:
The Advanced section configures SSH key to be used with SCPB method and extra SSH options (like -o StrictHostKeyChecking=no)
The Build debian package step has a main configuration parameter "Path to 'debian' catalog" that should point to a catalog that contains debian catalog.
For example, if checkout has structure like $WORKSPACE/myproject/util/debian/ you should use myproject/util as a configuration value.
By default, the build step will install all the requirements on its own, use pbuilder-satisfy-depends to install build-deps of a package and then use debuild to actually build package.
The package .deb will be added as a build artifact and badge with a version per backage built will be applied to the build:
The Publish debian packages post-build step uses debrealease to publish package and according .changes to the selected repository. The dupload.conf will be automatically generated with configured GPG account data and used keys.
Plugin is capable of automatically starting new package version upon build, recording recent changes and commiting it back to SCM.
However, the only supported SCM so far is Subversion due to the absence of commit capabilities in Jenkins SCM core classes.
To use it, check the "Generate changelog" box on the build step and "Commit changes back to repository" on the post-build step.
Upon build, it will:
To better handle failed builds, use 'Checkout fresh copy' SVN option (or similar for other SCM).
In versions prior to 1.3 there were issues with spaces in path, causing all kinds of errors. Problems in the plugin itself are fixed, however there are certain troubles in the debian build systems themselves, namely CDBS. See this issue on debian.org: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=306941.
Thanks to the https://github.com/itIGO for PRs
Skip to end of metadata Go to start of metadata