Skip to content

Commit ed4fddc

Browse files
authored
Update README.md
1 parent 4868392 commit ed4fddc

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,18 @@ Pk-jenkins is a tiny framework used to manage basic Jenkins tasks:
1616
- A build queue element. Represents a separate build for a task: color, state(running, finished, stuck etc) etc
1717

1818
# Using pk-jenkins Api
19+
- Add github-hosted pk-jenkins project as maven dependency using [jitpack.io](https://jitpack.io/). As an example, add following to gradle.build file:
20+
```gradle
21+
allprojects {
22+
repositories {
23+
maven { url "https://jitpack.io" }
24+
}
25+
}
26+
27+
dependencies {
28+
compile 'com.github.ProjectKaiser:pk-jenkins:master-SNAPSHOT'
29+
}
30+
```
1931
- Create IJenkinsApi implementation class providing Jenkins server url, username and password
2032
```java
2133
IJenkinsApi jenkins = new JenkinsApi("http://localhost:8080", "user", "password");

0 commit comments

Comments
 (0)