在詹金斯(Jenkins)中是否可以在构建操作之间增加睡眠时间? [英] Possible in Jenkins to add sleep time between build actions?

查看:1178
本文介绍了在詹金斯(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.

这篇关于在詹金斯(Jenkins)中是否可以在构建操作之间增加睡眠时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆