KIM-JINO5 2 сар өмнө
parent
commit
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!' }
     }
-}
+}