Kaynağa Gözat

Update 'Jenkinsfile'

관리자 2 ay önce
ebeveyn
işleme
fc474f8bf6
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      Jenkinsfile

+ 2 - 2
Jenkinsfile

@@ -25,8 +25,8 @@ pipeline {
         stage('Restart Services') {
         stage('Restart Services') {
 			agent { label 'windows-host' }
 			agent { label 'windows-host' }
             steps {
             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'
             }
             }
         }
         }
     }
     }