Skip to content

gocd-contrib/gocd-multi-extension-plugin-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example multi-extension plugin for GoCD 18.3 and beyond

Since GoCD 18.3, there is support for plugins with multiple extensions in them. All existing single-extension plugins will still work.

There are two points to remember about multi-extension plugins:

  1. It's not possible to have two extensions of the same type in the same plugin. For instance, you cannot have two "task" extensions.

  2. Only one extension can respond to the configuration set of requests.

This example plugin implements three extensions:

Only the analytics extension responds to configuration requests in this plugin. The notification extension responds with a 400 status.

Building this plugin

Run:

gradle clean assemble

The plugin JAR file will be in build/libs/.

About

A GoCD (https://www.gocd.org) plugin which extends multiple extension points in the same plugin.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages