Today, we are pleased to announce the availability of new version of Scala based Git centric software development platform GitBucket 4.17.0!

gitbucket-ci-plugin is available

gitbucket-ci-plugin which offers simple continuous integration ability is available for GitBucket 4.17.0.

Build results

Build output

It allows repository owners to configure build command, and run them at following timing:

  • Push to the default branch
  • Push to the pull request branch

However, you must not use this plug-in in public environment because it allows executing any commands on a GitBucket instance. It will be a serious security hole.

In addition, this plug-in is made to just experiment continuous integration on GitBucket easily without complex settings of webhook or Jenkins. It doesn’t have flexibility and scalability, and also has a security issue which is mentioned above. Therefore, if you like it and would like to use for your project actually, we recommend to setup Jenkins or other CI tool and move to it.

Transferring to URL with commit ID

In the repository viewer, it can be move to the URL with commit ID by typing y. It’s useful to share a URL which points a specific version of the file.

Also, move to the URL with commit ID when you choose a line number on the file viewer automatically.

URL with commit ID

Drop uploadable file type limitation

GitBucket had file type limitation in attachment, but this limitation has been dropped in this version. You can attach any types of files to any places of GitBucket such as issues, pull requests, comments and wiki.

Improve Mailer API

GitBucket provides Mailer API for plug-ins and it became more general. It can be used as follows:

val mailer = new Mailer(context.settings)

mailer.send(
  to           = "...", 
  subject      = "...", 
  textMsg      = "...", 
  htmlMsg      = Some("..."), 
  loginAccount = context.loginAccount
)

Mailer has also sendBcc() method which takes addresses as Seq[String] and send to these addresses with BCC.

According to this improvement, bundled gitbucket-notification-plugin has been updated to 1.0.2.

Web API and webhook enhancement

  • Add get a single commit API
  • Includes assignee in pull request related APIs
  • Includes ssh_url to webhook payload

In addition, this release contains some improvements and bug fix. See all closed issues in this release to know details.

Enjoy GitBucket!