관리자 пре 2 месеци
родитељ
комит
fc474f8bf6
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      Jenkinsfile

+ 2 - 2
Jenkinsfile

@@ -25,8 +25,8 @@ pipeline {
         stage('Restart Services') {
 			agent { label 'windows-host' }
             steps {
-                sh 'powershell.exe -ExecutionPolicy Bypass -File /mnt/h/bitforum-api/restart.ps1'
-                sh 'powershell.exe -ExecutionPolicy Bypass -File /mnt/h/bitforum-admin/restart.ps1'
+                bat 'powershell.exe -ExecutionPolicy Bypass -File /mnt/h/bitforum-api/restart.ps1'
+                bat 'powershell.exe -ExecutionPolicy Bypass -File /mnt/h/bitforum-admin/restart.ps1'
             }
         }
     }