jjb: binutils-gdb: Move build to jammy-amd64 nodes
[lttng-ci.git] / jobs / barectf.yaml
index e828d28e2b3751de7344e889f98991dba6ce5382..729ba4046492235696684195f5a63cd36b943b51 100644 (file)
     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:
       - 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
     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
     axes:
       - axis:
          type: slave
-         name: arch
-         values: '{obj:arch}'
+         name: platform
+         values: '{obj:platforms}'
 
     scm:
       - git:
               branches:
                 - branch-compare-type: 'ANT'
                   branch-pattern: '**'
-          trigger-for-unreviewed-patches: true
 
     properties:
       - build-discarder:
           option: 'category'
           categories:
             - 'gerrit-{buildtype}'
+
     builders:
       - shell:
          !include-raw-escape: scripts/barectf/build.sh
     email_to: 'ci-notification@lists.lttng.org, cc:pproulx@efficios.com'
     version:
       - 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
     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
This page took 0.026951 seconds and 4 git commands to generate.