Przeglądaj źródła

Update 'Jenkinsfile'

관리자 2 miesięcy temu
rodzic
commit
fc474f8bf6
1 zmienionych plików z 2 dodań i 2 usunięć
  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'
             }
         }
     }