|
|
@@ -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') {
|