An open API service indexing awesome lists of open source software.

https://github.com/jenkinsci/docker-java-api-plugin


https://github.com/jenkinsci/docker-java-api-plugin

docker jenkins-api-plugin

Last synced: 9 months ago
JSON representation

Awesome Lists containing this project

README

          

# Docker Java API Plugin

This plugin provides the [docker-java](http://github.com/docker-java/docker-java) API to Jenkins plugins.
Plugins using docker-java should depend on this plugin and not directly on docker-java.

Only the Apache HttpClient 5 transport is available; the Jersey transport does not work.

## Using the API in your plugin

Replace the dependency to `com.github.docker-java:docker-java` with a dependency to `org.jenkins-ci.plugins:docker-java-api`.
Avoid version conflicts by using the [Jenkins plugin BOM](https://github.com/jenkinsci/bom#readme) rather than depending on a specific version.

* Before:
```

...

com.github.docker-java
docker-java
3.4.1

...

```
* After:
```

...

org.jenkins-ci.plugins
docker-java-api

...

```