Skip to content

Commit 5fba87c

Browse files
author
Matt
committed
test: Jenkinsfile
1 parent 6186cc0 commit 5fba87c

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Jenkinsfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ pipeline {
33
tools {
44
// Specify the Gradle version configured in Jenkins
55
gradle 'Gradle'
6-
// Specify the JDK version configured in Jenkins
7-
jdk 'Java 21'
86
}
97
stages {
108
stage('Checkout') {
@@ -14,8 +12,9 @@ pipeline {
1412
}
1513
}
1614
stage('Build') {
17-
withGradle {
18-
sh './gradlew build'
15+
steps {
16+
// Run Gradle build
17+
sh 'gradle clean build'
1918
}
2019
}
2120
stage('Publish Artifacts') {

0 commit comments

Comments
 (0)