A plugin extending the capability of the Nebula gradle-info-plugin.
buildscript {
repositories { mavenCentral() }
dependencies { classpath 'com.fizzpod.gradle-extended-info-plugin:3.0.+' }
}
This plugin uses version 3.0.3 of the gradle-info-plugin.
The Nebula gradle-info-plugin provides ci-info only for Jenkins, but not for the many other continuous integration servers. This plugin provides ci-info for the following CI servers:
- Jenkins, (the default Nebula implementation)
- Drone.io
- Wercker
- Travis-CI
- Snap-CI
- Bitbucket Pipelines Beta
apply plugin 'com.fizzpod.info'
The customisation uses the Java Service Loader for finding and loading implementations of nebula.plugin.info.ci.ContinuousIntegrationInfoProvider
. In the META-INF/services
folder your library create a file called nebula.plugin.info.ci.ContinuousIntegrationInfoProvider
and in it specify an implementation class one per line, e.g. to specify all of the built in providers the contents would look like:
nebula.plugin.info.ci.JenkinsProvider
com.fizzpod.gradle.plugins.info.ci.DroneIoProvider
com.fizzpod.gradle.plugins.info.ci.ShippableProvider
com.fizzpod.gradle.plugins.info.ci.WerckerProvider
com.fizzpod.gradle.plugins.info.ci.TravisProvider
You then only need to include your library on the build script classpath and your implementations will be picked up.
Like the Nebula gradle-info-plugin this plugin provides an uber plugin that applies the other plugins, in this case however it replaces the Nebula info-ci plugin with the one in this package.
apply plugin 'com.fizzpod.info
- Support for BitBucket pipelines Beta
- Updated gradle-info-plugin to 3.0.3
- Updated supported version of gradle to 2.10
- Updated version of gradle-info-plugin to 2.2.2
- Updated version of gradle-info-plugin to 2.2.1
- Support for version 2.2.0 of the gradle-info-plugin