GoCD Java Client

Access GoCD API in Java

Лицензия

Лицензия

Категории

Категории

Java Языки программирования Ant Компиляция и сборка CLI Взаимодействие с пользователем
Группа

Группа

in.ashwanthkumar
Идентификатор

Идентификатор

gocd-java-client
Последняя версия

Последняя версия

0.0.11
Дата

Дата

Тип

Тип

jar
Описание

Описание

GoCD Java Client
Access GoCD API in Java
Ссылка на сайт

Ссылка на сайт

https://github.com/ashwanthkumar/gocd-java-client
Система контроля версий

Система контроля версий

https://github.com/ashwanthkumar/gocd-java-client

Скачать gocd-java-client

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/in.ashwanthkumar/gocd-java-client/ -->
<dependency>
    <groupId>in.ashwanthkumar</groupId>
    <artifactId>gocd-java-client</artifactId>
    <version>0.0.11</version>
</dependency>
// https://jarcasting.com/artifacts/in.ashwanthkumar/gocd-java-client/
implementation 'in.ashwanthkumar:gocd-java-client:0.0.11'
// https://jarcasting.com/artifacts/in.ashwanthkumar/gocd-java-client/
implementation ("in.ashwanthkumar:gocd-java-client:0.0.11")
'in.ashwanthkumar:gocd-java-client:jar:0.0.11'
<dependency org="in.ashwanthkumar" name="gocd-java-client" rev="0.0.11">
  <artifact name="gocd-java-client" type="jar" />
</dependency>
@Grapes(
@Grab(group='in.ashwanthkumar', module='gocd-java-client', version='0.0.11')
)
libraryDependencies += "in.ashwanthkumar" % "gocd-java-client" % "0.0.11"
[in.ashwanthkumar/gocd-java-client "0.0.11"]

Зависимости

compile (7)

Идентификатор библиотеки Тип Версия
commons-io : commons-io jar 2.6
org.apache.commons : commons-lang3 jar 3.8.1
org.slf4j : slf4j-api jar 1.7.30
ch.qos.logback : logback-classic jar 1.2.3
org.jsoup : jsoup jar 1.13.1
com.google.code.gson : gson jar 2.8.6
com.google.http-client : google-http-client-gson jar 1.35.0

test (3)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.13
org.hamcrest : hamcrest-all jar 1.3
org.mockito : mockito-core jar 3.3.3

Модули Проекта

Данный проект не имеет модулей.

Build Status

gocd-java-client

Maven Central

Attempt at building a Java client for programmatically accessing GoCD. Specifically built for using in GoCD plugins, which needs to access certain information from the server.

Usage

GoCD client = new GoCD("http://localhost", "admin", "badger");
// from v19.2.0 GoCD Server onwards
GoCD client = new GoCD("http://localhost", new PersonalAccessTokenAuthentication("PERSONAL_ACCESS_TOKEN"));
Map<Integer, PipelineRunStatus> statusMap = client.pipelineRunStatus("Build-Linux");

Note: You need at least JDK 9 to use this library, but it is built and tested against JDK 11.

Credits

Up to 0.0.7, most of this is based on the work done at gocd-janitor and gocd-slack-build-notifier. Credit goes to all those who have contributed to the respective projects.

License

Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0

Версии библиотеки

Версия
0.0.11
0.0.10
0.0.8
0.0.7
0.0.6
0.0.4
0.0.3
0.0.2
0.0.1