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:
Teriuihi 2024-10-18 17:53:18 +02:00
parent 5d843211c0
commit 2345f3b9a3

2
Jenkinsfile vendored
View File

@ -3,7 +3,7 @@ pipeline {
stages {
stage('Gradle') {
steps {
sh 'gradlew shadowJar'
sh 'bash gradlew shadowJar'
}
}
stage('Archive') {