Skip to content

Commit 6186cc0

Browse files
author
Matt
committed
test: gradle 2
1 parent ed76e9a commit 6186cc0

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

Jenkinsfile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,8 @@ pipeline {
1414
}
1515
}
1616
stage('Build') {
17-
steps {
18-
// Run Gradle build
19-
sh 'echo $JAVA_HOME'
20-
sh 'echo $GRADLE_HOME'
21-
sh 'java -version'
22-
sh 'gradle --version'
23-
sh 'gradle clean build'
17+
withGradle {
18+
sh './gradlew build'
2419
}
2520
}
2621
stage('Publish Artifacts') {

0 commit comments

Comments
 (0)