From 833cc25c4a8543deb4c53ea9d1b816c8a3ff495c Mon Sep 17 00:00:00 2001 From: Hanbin Lee Date: Mon, 23 Jan 2023 21:37:12 +0900 Subject: [PATCH] =?UTF-8?q?[#31]=20feat:=20gradle=20build=EA=B9=8C?= =?UTF-8?q?=EC=A7=80=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index e69de29..c929b61 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' + } + } + } +} \ No newline at end of file