From 2345f3b9a30832302d0a42aa5d8395797aad0217 Mon Sep 17 00:00:00 2001 From: Teriuihi Date: Fri, 18 Oct 2024 17:53:18 +0200 Subject: [PATCH] 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. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 13722c8..38fb7e5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,7 @@ pipeline { stages { stage('Gradle') { steps { - sh 'gradlew shadowJar' + sh 'bash gradlew shadowJar' } } stage('Archive') {