소스 검색

Update 'Jenkinsfile'

관리자 2 달 전
부모
커밋
bf8aa21cbf
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      Jenkinsfile

+ 3 - 2
Jenkinsfile

@@ -2,6 +2,7 @@ pipeline {
     agent { label 'windows-host' }
     environment {
         DOTNET_CLI_TELEMETRY_OPTOUT = '1'
+		JAVA_TOOL_OPTIONS = '-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8'
     }
     stages {
         stage('Checkout') {
@@ -11,8 +12,8 @@ pipeline {
         }
         stage('Build') {
             steps {
-                bat 'dotnet publish Web.Api -c Release -o publish\\api'
-                bat 'dotnet publish Admin -c Release -o publish\\admin'
+                bat 'dotnet publish Web.Api -c Release -r win-x64 -o publish\\api'
+                bat 'dotnet publish Admin -c Release -r win-x64 -o publish\\admin'
             }
         }
         stage('Stop Services') {