Fix Gradle build command in Jenkinsfile
Changed the Gradle command to explicitly run with bash. This ensures compatibility across different environments where the default shell might cause issues. The stage remains the same, focusing only on command execution improvement.
This commit is contained in:
Vendored
+1
-1
@@ -3,7 +3,7 @@ pipeline {
|
||||
stages {
|
||||
stage('Gradle') {
|
||||
steps {
|
||||
sh 'gradlew shadowJar'
|
||||
sh 'bash gradlew shadowJar'
|
||||
}
|
||||
}
|
||||
stage('Archive') {
|
||||
|
||||
Reference in New Issue
Block a user