소스 검색

no message

KIM-JINO5 2 달 전
부모
커밋
0fa0054367
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      Jenkinsfile

+ 6 - 0
Jenkinsfile

@@ -5,6 +5,12 @@ pipeline {
         JAVA_TOOL_OPTIONS = '-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8'
     }
     stages {
+		stage('Clean') {
+			steps {
+				bat 'if exist publish rmdir /s /q publish'
+			}
+		}
+
         stage('Build') {
 			steps {
 				bat 'chcp 65001 && dotnet publish Web.Api/Web.Api.csproj -c Release -o publish\\api'