Manually define Gradle
pipeline {
agent any
tools {
+ gradle 'Gradle 6'
jdk 'Java 8'
}
options {
@@ -9,7 +10,7 @@ pipeline {
stages {
stage ('Build') {
steps {
- sh './gradlew clean build'
+ sh 'gradle clean build'
}
post {
success {
