jjb: add ircbot in #lttng-ci
[lttng-ci.git] / jobs / babeltrace.yaml
index 978339f7cb41d490eb835d88f2a37012adc4f630..60cfba5e2ce785ddd391a1ba2762eedef30cfb9f 100644 (file)
           results: 'tap/**/*.log'
           fail-if-no-results: true
           failed-tests-mark-build-as-failure: true
+          include-comment-diagnostics: true
+          output-tap-to-console: false
           todo-is-failure: false
       - raw: &babeltrace_publisher_warnings-ng_defaults
           xml: |
                   <reportEncoding/>
                   <skipSymbolicLinks>false</skipSymbolicLinks>
                 </io.jenkins.plugins.analysis.warnings.Gcc4>
-                <io.jenkins.plugins.analysis.warnings.Clang>
-                  <id/>
-                  <name/>
-                  <jenkins plugin="plugin-util-api"/>
-                  <pattern/>
-                  <reportEncoding/>
-                  <skipSymbolicLinks>false</skipSymbolicLinks>
-                </io.jenkins.plugins.analysis.warnings.Clang>
               </analysisTools>
               <sourceCodeEncoding/>
               <sourceDirectory/>
               <scm/>
             </io.jenkins.plugins.analysis.core.steps.IssuesRecorder>
       - archive: &babeltrace_publisher_archive_defaults
-          artifacts: 'build/**,tap/**'
+          artifacts: 'build/**,tap/**,log/**'
           allow-empty: false
       - workspace-cleanup: &babeltrace_publisher_workspace-cleanup_defaults
           clean-if:
             - failure: false
+      - ircbot: &babeltrace_publisher_ircbot_defaults
+          strategy: statechange-only
+          message-type: summary-scm
+          matrix-notifier: only-configurations
       - email-ext: &babeltrace_publisher_email-ext_defaults
           recipients: '{obj:email_to}'
           reply-to: ci-notification@lists.lttng.org
                   <reportEncoding/>
                   <skipSymbolicLinks>false</skipSymbolicLinks>
                 </io.jenkins.plugins.analysis.warnings.Gcc4>
-                <io.jenkins.plugins.analysis.warnings.Clang>
-                  <id/>
-                  <name/>
-                  <jenkins plugin="plugin-util-api"/>
-                  <pattern/>
-                  <reportEncoding/>
-                  <skipSymbolicLinks>false</skipSymbolicLinks>
-                </io.jenkins.plugins.analysis.warnings.Clang>
               </analysisTools>
               <sourceCodeEncoding/>
               <sourceDirectory/>
       - archive:
           artifacts: 'out/**,tap/**'
           allow-empty: false
+          fingerprint: true
+      - ircbot: *babeltrace_publisher_ircbot_defaults
 
 - job-template:
     name: dev_gerrit_babeltrace_pylint
       - build-discarder:
           days-to-keep: 1
 
-- job-template:
-    name: babeltrace_{version}_cppcheck
-    defaults: babeltrace
-
-    triggers:
-      - pollscm:
-          cron: "@daily"
-
-    builders:
-      - shell: |
-          rm -f cppcheck-result.xml
-          cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> cppcheck-result.xml
-
-    publishers:
-      - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults
-      - archive:
-          artifacts: 'cppcheck-result.xml'
-          allow-empty: false
-      - cppcheck:
-          pattern: 'cppcheck-result.xml'
-
 - job-template:
     name: babeltrace_{version}_scan-build
     defaults: babeltrace
           name: 'HTML Report'
           dir: 'scan-build-archive/'
           files: 'index.html'
+      - ircbot: *babeltrace_publisher_ircbot_defaults
 
 - job-template:
     name: babeltrace_{version}_coverity
       - archive:
           artifacts: 'analysis-results.tgz,cov-int/**'
           allow-empty: false
+      - ircbot: *babeltrace_publisher_ircbot_defaults
 
 - job-template:
     name: babeltrace_{version}_pylint
       - archive:
           artifacts: 'black.out,flake8.out'
           allow-empty: false
+      - ircbot: *babeltrace_publisher_ircbot_defaults
       - email-ext: *babeltrace_publisher_email-ext_defaults
 
 - job-template:
           buildtype: linuxbuild
           platforms: !!python/tuple [jammy-amd64]
           builds: !!python/tuple [std, oot, dist, oot-dist]
-          confs: !!python/tuple [std, static, prod, min, doc]
-          filter: ''
+          confs: !!python/tuple [std, static, prod, min, doc, asan]
+          filter: '(build=="std") || (conf=="std") || (conf=="doc")'
           touchstone: '(build == "std") && (conf == "std")'
       - '{job_prefix}babeltrace_{version}_{buildtype}':
           buildtype: build
           platforms: !!python/tuple [bionic-amd64]
           builds: !!python/tuple [std, oot, dist, oot-dist]
-          confs: !!python/tuple [std, static, prod, min, doc]
-          filter: ''
+          confs: !!python/tuple [std, static, prod, min, doc, asan]
+          filter: '(build=="std") || (conf=="std") || (conf=="doc")'
           touchstone: '(build == "std") && (conf == "std")'
       - '{job_prefix}babeltrace_{version}_{buildtype}':
           buildtype: portbuild
-          platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386]
+          platforms: !!python/tuple [deb11-armhf, deb11-arm64, deb11-ppc64el, deb11-i386]
           builds: !!python/tuple [std]
           confs: !!python/tuple [std, prod]
           filter: ''
           touchstone: '(build == "std") && (conf == "std") && (platform == "deb11-i386")'
       - '{job_prefix}babeltrace_{version}_{buildtype}':
           buildtype: slesbuild
-          platforms: !!python/tuple [sles12sp5-amd64]
+          platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64]
           builds: !!python/tuple [std]
           confs: !!python/tuple [std, prod]
           filter: ''
           confs: !!python/tuple [std, prod]
           filter: ''
           touchstone: ''
+      - '{job_prefix}babeltrace_{version}_{buildtype}':
+          buildtype: yoctobuild
+          platforms: !!python/tuple [yocto23-powerpcspe, yocto23-powerpc, yocto31-ppc64]
+          builds: !!python/tuple [std]
+          confs: !!python/tuple [std]
+          filter: ''
+          touchstone: ''
       - '{job_prefix}babeltrace_{version}_{buildtype}':
           buildtype: macosbuild
           platforms: !!python/tuple [macos-amd64, macos-arm64]
           touchstone: ''
       - 'babeltrace_{version}_release':
           version: v2.0
-      - 'babeltrace_{version}_cppcheck'
       - 'babeltrace_{version}_scan-build'
       - 'babeltrace_{version}_pylint'
       - 'babeltrace_{version}_coverity':
     jobs:
       - 'dev_gerrit_babeltrace_{buildtype}':
           buildtype: build
-          platforms: !!python/tuple [bionic-amd64, deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386]
+          platforms: !!python/tuple [bionic-amd64, deb11-armhf, deb11-arm64, deb11-ppc64el, deb11-i386]
           builds: !!python/tuple [std, oot, dist, oot-dist]
           confs: !!python/tuple [std, static, prod, min]
           filter: '(build=="std" && conf=="std") || (platform=="bionic-amd64")'
           touchstone: '(build == "std") && (conf == "std")'
       - '{job_prefix}babeltrace_{version}_{buildtype}':
           buildtype: portbuild
-          platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386]
+          platforms: !!python/tuple [deb11-armhf, deb11-arm64, deb11-ppc64el, deb11-i386]
           builds: !!python/tuple [std]
           confs: !!python/tuple [std, python-bindings]
           filter: ''
           touchstone: '(build == "std") && (conf == "std") && (platform == "deb11-i386")'
       - '{job_prefix}babeltrace_{version}_{buildtype}':
           buildtype: slesbuild
-          platforms: !!python/tuple [sles12sp5-amd64]
+          platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64]
           builds: !!python/tuple [std]
           confs: !!python/tuple [std]
           filter: ''
This page took 0.024862 seconds and 4 git commands to generate.