From: Michael Jeanson Date: Thu, 8 Jun 2023 20:19:01 +0000 (-0400) Subject: jjb: lttng-tools: Add process cleaner plugin X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ef0d0ec1a80bfbd0b90fa41ea000eea8ef64d299;p=lttng-ci.git jjb: lttng-tools: Add process cleaner plugin Use the process cleaner plugin before and after jobs to clean possible leftover processes that could interfere with the test suite. Change-Id: I13af079244cbafde65f9c85f7c66d604fbfa2669 Signed-off-by: Michael Jeanson --- diff --git a/jobs/lttng-tools.yaml b/jobs/lttng-tools.yaml index 3022fb6..fbc4622 100644 --- a/jobs/lttng-tools.yaml +++ b/jobs/lttng-tools.yaml @@ -22,6 +22,16 @@ write-description: "

This build failed due to timeout.

" - timestamps - workspace-cleanup + - raw: <tng-tools_wrapper_proc-cleaner_defaults + xml: | + + + org.jenkinsci.plugins.proccleaner.PsAllKiller + + false + false + + scm: - git: <tng-tools_scm_git_default @@ -451,6 +461,17 @@ clean-if: - failure: false + - raw: <tng-tools_publisher_proc-cleaner_defaults + xml: | + + + org.jenkinsci.plugins.proccleaner.PsAllKiller + + false + false + + + - ircbot: <tng-tools_publisher_ircbot_defaults strategy: statechange-only message-type: summary @@ -484,8 +505,9 @@ publishers: - tap: *lttng-tools_publisher_tap_defaults - raw: *lttng-tools_publisher_warnings-ng_defaults - - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults - archive: *lttng-tools_publisher_archive_defaults + - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults + - raw: *lttng-tools_publisher_proc-cleaner_defaults - ircbot: *lttng-tools_publisher_ircbot_defaults - email-ext: *lttng-tools_publisher_email-ext_defaults @@ -532,6 +554,7 @@ timeout: 45 - timestamps - workspace-cleanup + - raw: *lttng-tools_wrapper_proc-cleaner_defaults <<: *lttng-tools_matrix_axes_defaults <<: *lttng-tools_builders_defaults @@ -656,6 +679,7 @@ - raw: *lttng-tools_publisher_warnings-ng_defaults - archive: *lttng-tools_publisher_archive_defaults - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults + - raw: *lttng-tools_publisher_proc-cleaner_defaults - job-template: name: dev_review_lttng-tools_{version}_smokebuild @@ -698,6 +722,7 @@ publishers: - raw: *lttng-tools_publisher_warnings-ng_defaults - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults + - raw: *lttng-tools_publisher_proc-cleaner_defaults - job-template: name: dev_review_lttng-tools_{version}_clang-tidy @@ -786,6 +811,7 @@ artifacts: 'clang-tidy-fixes.diff' allow-empty: true - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults + - raw: *lttng-tools_publisher_proc-cleaner_defaults - job-template: name: dev_review_lttng-tools_{version}_rootbuild @@ -815,6 +841,7 @@ - raw: *lttng-tools_publisher_warnings-ng_defaults - archive: *lttng-tools_publisher_archive_defaults - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults + - raw: *lttng-tools_publisher_proc-cleaner_defaults - job-template: name: 'dev_review_lttng-tools_{version}_check-format' @@ -899,6 +926,7 @@ allow-empty: false fingerprint: true - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults + - raw: *lttng-tools_publisher_proc-cleaner_defaults - ircbot: *lttng-tools_publisher_ircbot_defaults - job-template: