We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6186cc0 commit 5fba87cCopy full SHA for 5fba87c
1 file changed
Jenkinsfile
@@ -3,8 +3,6 @@ pipeline {
3
tools {
4
// Specify the Gradle version configured in Jenkins
5
gradle 'Gradle'
6
- // Specify the JDK version configured in Jenkins
7
- jdk 'Java 21'
8
}
9
stages {
10
stage('Checkout') {
@@ -14,8 +12,9 @@ pipeline {
14
12
15
13
16
stage('Build') {
17
- withGradle {
18
- sh './gradlew build'
+ steps {
+ // Run Gradle build
+ sh 'gradle clean build'
19
20
21
stage('Publish Artifacts') {
0 commit comments