Skip to content

Commit 0270f2a

Browse files
committed
Update README, Java 11 build is supported
1 parent 9947e9a commit 0270f2a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,20 @@ branch used to release fixes for plugin version `3.x`.
2525

2626
To build the plugin you will need
2727
* [Maven](https://maven.apache.org/) version `3.5.4` or newer
28-
* [Java Development Kit (JDK)](https://jdk.java.net/) version `8`
28+
* [Java Development Kit (JDK)](https://jdk.java.net/) version `8` or version `11`
2929

30-
Run the following command to build the plugin
30+
Run the following command to build the plugin (Java 8)
3131

3232
```shell
3333
mvn package
3434
```
3535

36+
Run the following command to build the plugin (Java 11)
37+
38+
```shell
39+
mvn -Djenkins.version=2.164.1 package
40+
```
41+
3642
### Contributing to the Plugin
3743

3844
Plugin source code is hosted on [GitHub](https://github.com/jenkinsci/git-plugin).

0 commit comments

Comments
 (0)