]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
mention the timeout on scripts
authorAlfredo Deza <adeza@redhat.com>
Fri, 5 Feb 2016 17:56:23 +0000 (12:56 -0500)
committerAlfredo Deza <adeza@redhat.com>
Fri, 5 Feb 2016 18:00:43 +0000 (13:00 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
README.rst

index da0d6cff8806ae8fbf6fbb247093f415c5681d17..1a596645082ce0b0b2fdbb17c81c98a007f747c5 100644 (file)
@@ -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