瀏覽代碼

Update 'Jenkinsfile'

관리자 2 月之前
父節點
當前提交
85f8ec0cad
共有 1 個文件被更改,包括 2 次插入1 次删除
  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'
             }
         }
     }