관리자 2 месяцев назад
Родитель
Сommit
ceafaaa4d3
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      Jenkinsfile

+ 4 - 4
Jenkinsfile

@@ -2,8 +2,8 @@ pipeline {
     agent any
     environment {
         DOTNET_CLI_TELEMETRY_OPTOUT = '1'
-        DEPLOY_API   = '/mnt/h/bitforum-api'
-        DEPLOY_ADMIN = '/mnt/h/bitforum-admin'
+        DEPLOY_API   = '/mnt/h/bitforum-api/sources'
+        DEPLOY_ADMIN = '/mnt/h/bitforum-admin/sources'
     }
     stages {
         stage('Build') {
@@ -25,8 +25,8 @@ pipeline {
         stage('Restart Services') {
 			agent { label 'windows-host' }
             steps {
-                bat 'powershell.exe -ExecutionPolicy Bypass -File H:\\iis\\bitforum-api\\restart.ps1'
-                bat 'powershell.exe -ExecutionPolicy Bypass -File H:\\iis\\bitforum-admin\\restart.ps1'
+                bat 'powershell.exe -ExecutionPolicy Bypass -File H:\\IIS\\bitforum-api\\restart.ps1'
+                bat 'powershell.exe -ExecutionPolicy Bypass -File H:\\IIS\\bitforum-admin\\restart.ps1'
             }
         }
     }