Răsfoiți Sursa

Update 'Jenkinsfile'

관리자 2 luni în urmă
părinte
comite
fc474f8bf6
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  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'
             }
         }
     }