jenkins 빌드시 자동 줄내림 제거

gradlew 경로 변경
This commit is contained in:
2025-10-13 11:00:16 +09:00
parent 51c5709a79
commit 86e3263423
7 changed files with 21 additions and 8 deletions

View File

@@ -17,7 +17,9 @@ pipeline {
stage('Gradle Build') {
steps {
script {
sh '/var/lib/jenkins/workspace/Product-Admintool-Stage-Backend/gradlew clean build -x test -Pprofile=stage' //빌드 test는 하지않는다
sh 'sed -i "s/\\r$//" gradlew'
sh 'chmod +x gradlew'
sh './gradlew clean build -x test -Pprofile=stage' //빌드 test는 하지않는다
}
}
}