Help Center/ CodeArts Deploy/ FAQs/ Custom Application Actions/ Running PowerShell Commands/ Deployment of the Action Run PowerShell Commands Times Out
Updated on 2023-05-26 GMT+08:00

Deployment of the Action Run PowerShell Commands Times Out

Symptoms

When the PowerShell command java -jar jenkins.war --httpPort=8088 is deployed, the progress is stuck in deploying state until timeout occurs. This problem always occurs when the PowerShell command is used for service startup.

Cause Analysis

The host waits for the deployment result after a PowerShell command is deployed. If the command is executed continuously, the deployment will time out. In this case, a message is displayed indicating that the deployment fails due to timeout.

Solution

Run the PowerShell command that is continuously executed in the background.