Help Center> CodeArts Deploy> FAQs> Custom Application Actions> Running Shell Commands> Deployment of the Action Run Shell Commands Times Out
Updated on 2023-11-28 GMT+08:00

Deployment of the Action Run Shell Commands Times Out

Symptoms

When the shell command java -jar jenkins.war --httpPort=8088 is deployed, the progress is stuck in deploying state until timeout occurs.

Cause Analysis

The host waits for the deployment result after a shell 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 shell command that is continuously executed in the background.

nohup java -jar jenkins.war --httpPort=8088 &

Running Shell Commands FAQs

more