Update Gradle build command in Jenkinsfile
Changed the Gradle build step to use 'bash' for executing the gradlew script. This ensures compatibility across different environments where the script might need a specific shell interpreter.
This commit is contained in:
parent
89122cfa4b
commit
2127933b0a
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
|
@ -3,7 +3,7 @@ pipeline {
|
|||
stages {
|
||||
stage('Gradle') {
|
||||
steps {
|
||||
sh 'gradlew build'
|
||||
sh 'bash gradlew build'
|
||||
}
|
||||
}
|
||||
stage('Archive') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user