Skip to content

Jenkins plugin for automating the deb-s3 tool to publish to Debian repositories in S3

Notifications You must be signed in to change notification settings

soapergem/debs3-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins deb-s3 Plugin

Jenkins plugin for automating the deb-s3 tool to publish to Debian repositories in S3

This is a ripoff of the Jenkins DEB Sign Plugin, which in turn is a ripoff of the Jenkins RPM Sign plugin. Yay plagiarism!

This plugin adds a post-build step to let you utilize Ken Robertson's deb-s3 tool to publish to a Debian repository in S3 and sign the repository using GPG.

Dependencies

This plugin depends on having the following installed on the host machine (i.e. slave node):

  • gpg
  • expect
  • deb-s3

You should also update your ~/.gnupg/gpg.conf file to include (at least) the following:

personal-digest-preferences SHA256
cert-digest-algo SHA256

Building and installing

To build the plugin, run

$ mvn package

This will create a hpi file (target/debs3-plugin.hpi). Install this through the Jenkins web UI.

You may also need to establish a symbolic link to deb-s3 so that expect/spawn can find it:

sudo ln -s /usr/local/bin/deb-s3 /usr/bin/deb-s3

About

Jenkins plugin for automating the deb-s3 tool to publish to Debian repositories in S3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published