jenkins 빌드시 자동 줄내림 제거
gradlew 경로 변경
This commit is contained in:
@@ -17,8 +17,9 @@ pipeline {
|
||||
stage('Gradle Build') {
|
||||
steps {
|
||||
script {
|
||||
sh 'chmod +x gradlew' //gradle 권한 설정
|
||||
sh '/var/lib/jenkins/workspace/Trunk-Admintool-Dev-BackEnd/gradlew clean build -x test -Pprofile=dev' //빌드 test는 하지않는다
|
||||
sh 'sed -i "s/\\r$//" gradlew'
|
||||
sh 'chmod +x gradlew'
|
||||
sh './gradlew clean build -x test -Pprofile=dev'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +17,9 @@ pipeline {
|
||||
stage('Gradle Build') {
|
||||
steps {
|
||||
script {
|
||||
sh '/var/lib/jenkins/workspace/Product-Admintool-Live-BackEnd-Full/gradlew clean build -x test -Pprofile=live' //빌드 test는 하지않는다
|
||||
sh 'sed -i "s/\\r$//" gradlew'
|
||||
sh 'chmod +x gradlew'
|
||||
sh './gradlew clean build -x test -Pprofile=live' //빌드 test는 하지않는다
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +17,9 @@ pipeline {
|
||||
stage('Gradle Build') {
|
||||
steps {
|
||||
script {
|
||||
sh '/var/lib/jenkins/workspace/Product-Admintool-Live-BackEnd/gradlew clean build -x test -Pprofile=live' //빌드 test는 하지않는다
|
||||
sh 'sed -i "s/\\r$//" gradlew'
|
||||
sh 'chmod +x gradlew'
|
||||
sh './gradlew clean build -x test -Pprofile=live' //빌드 test는 하지않는다
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +17,9 @@ pipeline {
|
||||
stage('Gradle Build') {
|
||||
steps {
|
||||
script {
|
||||
sh '/var/lib/jenkins/workspace/Stable-Admintool-QA-BackEnd-Full/gradlew clean build -x test -Pprofile=qa' //빌드 test는 하지않는다
|
||||
sh 'sed -i "s/\\r$//" gradlew'
|
||||
sh 'chmod +x gradlew'
|
||||
sh './gradlew clean build -x test -Pprofile=qa' //빌드 test는 하지않는다
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +17,9 @@ pipeline {
|
||||
stage('Gradle Build') {
|
||||
steps {
|
||||
script {
|
||||
sh '/var/lib/jenkins/workspace/Stable-Admintool-QA-BackEnd/gradlew clean build -x test -Pprofile=qa' //빌드 test는 하지않는다
|
||||
sh 'sed -i "s/\\r$//" gradlew'
|
||||
sh 'chmod +x gradlew'
|
||||
sh './gradlew clean build -x test -Pprofile=qa' //빌드 test는 하지않는다
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +17,9 @@ pipeline {
|
||||
stage('Gradle Build') {
|
||||
steps {
|
||||
script {
|
||||
sh '/var/lib/jenkins/workspace/Product-Admintool-Stage-Backend-Full/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는 하지않는다
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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