X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Fbarectf.yaml;h=180e6a99aef68d92173020cbce48398214112939;hb=0ecb76529f15cf5935ac7179f42c1b2ecb15d6fe;hp=e5f11d3d24d30f9164fb9b1412f5d757adf8a5fc;hpb=53b2de9bd9320f609e81b377557f364f139d9d89;p=lttng-ci.git diff --git a/jobs/barectf.yaml b/jobs/barectf.yaml index e5f11d3..180e6a9 100644 --- a/jobs/barectf.yaml +++ b/jobs/barectf.yaml @@ -12,14 +12,18 @@ 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: - url: git://github.com/{github_user}/{github_name}.git + url: https://github.com/{github_user}/{github_name}.git browser: githubweb browser-url: https://github.com/{github_user}/{github_name} branches: @@ -34,14 +38,20 @@ 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 + ## Templates ## - job-template: - name: barectf_{version}_build + name: barectf_{version}_{buildtype} defaults: barectf project-type: matrix @@ -49,14 +59,15 @@ 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 - email-ext: recipients: '{obj:email_to}' reply-to: ci-notification@lists.lttng.org @@ -90,8 +101,8 @@ axes: - axis: type: slave - name: arch - values: '{obj:arch}' + name: platform + values: '{obj:platforms}' scm: - git: @@ -122,6 +133,7 @@ option: 'category' categories: - 'gerrit-{buildtype}' + builders: - shell: !include-raw-escape: scripts/barectf/build.sh @@ -144,8 +156,9 @@ - master - stable-3.0 jobs: - - 'barectf_{version}_build': - arch: !!python/tuple [i386, amd64] + - 'barectf_{version}_{buildtype}': + buildtype: linuxbuild + platforms: !!python/tuple [jammy-amd64] - project: name: gerrit-barectf @@ -153,8 +166,8 @@ github_name: barectf jobs: - 'dev_gerrit_barectf_{buildtype}': - buildtype: build - arch: !!python/tuple [i386, amd64] + buildtype: linuxbuild + platforms: !!python/tuple [jammy-amd64] - project: name: barectf-views