Tell gradle where java is... when did gradle become dumb?
This commit is contained in:
parent
1be419aa9e
commit
64354e05eb
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -31,7 +31,7 @@ pipeline {
|
||||||
java -version
|
java -version
|
||||||
|
|
||||||
chmod +x gradlew
|
chmod +x gradlew
|
||||||
gradle build publish
|
gradle -Dorg.gradle.java.home="$JAVA_HOME" build publish
|
||||||
|
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue