X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Fbarectf.yaml;h=5c5949bbf65a629a313514dffa9363ec4ff1dd88;hb=ee4b760abf60e1d139cab33d5d5f0f4403723b8e;hp=920fa90ca3f956fe9225075d44d383a988cb2ff7;hpb=ba27cbe025f61f0c1d0ec0f0c6a802b78a478e5a;p=lttng-ci.git diff --git a/jobs/barectf.yaml b/jobs/barectf.yaml index 920fa90..5c5949b 100644 --- a/jobs/barectf.yaml +++ b/jobs/barectf.yaml @@ -12,10 +12,14 @@ project-type: freestyle wrappers: - - workspace-cleanup - - timestamps - - ansicolor: + - ansicolor: &barectf_wrapper_ansicolor_defaults colormap: xterm + - timeout: &barectf_wrapper_timeout_defaults + timeout: 20 + fail: true + type: no-activity + - timestamps + - workspace-cleanup scm: - git: @@ -34,14 +38,24 @@ properties: - build-discarder: - num-to-keep: 2 + num-to-keep: 10 + artifact-num-to-keep: 2 - github: url: https://github.com/{github_user}/{github_name} + publishers: + - workspace-cleanup: &barectf_publisher_workspace_cleanup_defaults + clean-if: + - failure: false + - ircbot: &barectf_publisher_ircbot_defaults + strategy: statechange-only + message-type: summary-scm + matrix-notifier: only-configurations + ## Templates ## - job-template: - name: barectf_{version}_build + name: barectf_{version}_{buildtype} defaults: barectf project-type: matrix @@ -49,14 +63,16 @@ axes: - axis: type: slave - name: arch - values: '{obj:arch}' + name: platform + values: '{obj:platforms}' builders: - shell: !include-raw-escape: scripts/barectf/build.sh publishers: + - workspace-cleanup: *barectf_publisher_workspace_cleanup_defaults + - ircbot: *barectf_publisher_ircbot_defaults - email-ext: recipients: '{obj:email_to}' reply-to: ci-notification@lists.lttng.org @@ -90,8 +106,8 @@ axes: - axis: type: slave - name: arch - values: '{obj:arch}' + name: platform + values: '{obj:platforms}' scm: - git: @@ -122,10 +138,14 @@ option: 'category' categories: - 'gerrit-{buildtype}' + builders: - shell: !include-raw-escape: scripts/barectf/build.sh + publishers: + - workspace-cleanup: *barectf_publisher_workspace_cleanup_defaults + ## Views ## - view-template: @@ -144,8 +164,9 @@ - master - stable-3.0 jobs: - - 'barectf_{version}_build': - arch: !!python/tuple [amd64] + - 'barectf_{version}_{buildtype}': + buildtype: linuxbuild + platforms: !!python/tuple [jammy-amd64] - project: name: gerrit-barectf @@ -153,8 +174,8 @@ github_name: barectf jobs: - 'dev_gerrit_barectf_{buildtype}': - buildtype: build - arch: !!python/tuple [amd64] + buildtype: linuxbuild + platforms: !!python/tuple [jammy-amd64] - project: name: barectf-views