在詹金斯(Jenkins)中是否可以在构建操作之间增加睡眠时间?

问题描述:

我正在Jenkins中启动JBoss服务器作为构建动作.下一步操作将运行一组测试.我需要在两个动作之间添加睡眠时间.有人知道如何轻松地做到这一点吗?

I am starting a JBoss server in Jenkins as a build action. The next action runs a set of tests. I need to add sleeptime between the two actions. Does anyone know how to do this easily?

您可以在测试执行之前在测试构建操作中添加sleep命令(在Unix上).

You can add sleep command (on Unix) in the test build action before test execution.