فهرست منبع

Update 'Jenkinsfile'

관리자 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'
             }
         }
     }