[#31] feat: gradle build까지 적용

This commit is contained in:
Hanbin Lee
2023-01-23 21:37:12 +09:00
parent c5dfa90ab3
commit 833cc25c4a

23
Jenkinsfile vendored
View File

@@ -0,0 +1,23 @@
pipeline {
agent any
stages {
stage('github clone') {
steps {
git branch: '${BUILD_BRANCH}', url: 'https://github.com/beaniejoy/dongne-cafe-api.git'
}
}
stage('Test') {
steps {
sh './gradlew :dongne-service-api:test'
}
}
stage('Build') {
steps {
sh './gradlew clean :dongne-service-api:build -x test'
}
}
}
}