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:
parent
5d843211c0
commit
2345f3b9a3
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
|
@ -3,7 +3,7 @@ pipeline {
|
|||
stages {
|
||||
stage('Gradle') {
|
||||
steps {
|
||||
sh 'gradlew shadowJar'
|
||||
sh 'bash gradlew shadowJar'
|
||||
}
|
||||
}
|
||||
stage('Archive') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user