From: Alfredo Deza Date: Fri, 5 Feb 2016 17:56:23 +0000 (-0500) Subject: mention the timeout on scripts X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=db84590131bc50dfd08a85436311cb6940059f94;p=ceph-build.git mention the timeout on scripts Signed-off-by: Alfredo Deza --- diff --git a/README.rst b/README.rst index da0d6cff..1a596645 100644 --- a/README.rst +++ b/README.rst @@ -100,6 +100,16 @@ will have the following settings: * Jenkins job ``display-name``: ``ceph-deploy: Pull Requests`` + +Scripts +------- +Scripts that may hang should be using the ``timeout`` command:: + + timeout 600 ./bad-script.sh + +The above command will make the job expire after ten minutes (the argument is +in seconds). + Pull Request Jobs ----------------- When configuring a new job that will build pull requests, you must also