jenkins 빌드시 자동 줄내림 제거
gradlew 경로 변경
This commit is contained in:
@@ -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는 하지않는다
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user