瀏覽代碼

no message

KIM-JINO5 2 月之前
父節點
當前提交
36ec379bc3
共有 1 個文件被更改,包括 7 次插入6 次删除
  1. 7 6
      Jenkinsfile

+ 7 - 6
Jenkinsfile

@@ -6,11 +6,12 @@ pipeline {
     }
     stages {
         stage('Build') {
-            steps {
-                bat 'chcp 65001 && dotnet publish Web.Api -c Release -o publish\\api'
-                bat 'chcp 65001 && dotnet publish Admin -c Release -o publish\\admin'
-            }
-        }
+			steps {
+				bat 'chcp 65001 && dotnet publish Web.Api/Web.Api.csproj -c Release -o publish\\api'
+				bat 'chcp 65001 && dotnet publish Admin/Admin.csproj -c Release -o publish\\admin'
+			}
+		}
+
         stage('Stop Services') {
             steps {
                 bat 'chcp 65001 && sc.exe stop bitforum-Api || exit 0'
@@ -39,4 +40,4 @@ pipeline {
         success { echo 'Backend deploy success!' }
         failure { echo 'Backend deploy failed!' }
     }
-}
+}