jjb: lttng-tools: add clear job description for failed jobs due to timeout
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Fri, 14 May 2021 14:41:17 +0000 (10:41 -0400)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Fri, 14 May 2021 14:52:06 +0000 (10:52 -0400)
The job description is visible directly on the landing page of a job.

Red and h1 is used to be clear to the dev that the jobs was failed due
to timeout.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
jobs/lttng-tools.yaml

index 1a9488babdba813fd67737348e25017f51416c54..58164d5d07d4984348587f4f74c3c0150de7be3e 100644 (file)
@@ -55,6 +55,7 @@
           timeout: 30
           fail: true
           type: no-activity
+          write-description: "<h1 style=\"color:red\">This build failed due to timeout.</h1>"
       - timestamps
       - workspace-cleanup:
           clean-if:
           timeout: 45
           fail: true
           type: no-activity
+          write-description: "<h1 style=\"color:red\">This build failed due to timeout.</h1>"
       - timestamps
       - workspace-cleanup:
           clean-if:
           timeout: 10
           fail: true
           type: no-activity
+          write-description: "<h1 style=\"color:red\">This build failed due to timeout.</h1>"
       - timestamps
 
     <<: *lttng-tools_build_axes_rootbuild
This page took 0.02543 seconds and 4 git commands to generate.