Browse Source

Update 'Jenkinsfile'

관리자 3 tháng trước cách đây
mục cha
commit
85f8ec0cad
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      Jenkinsfile

+ 2 - 1
Jenkinsfile

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