# {project}_{version}_{jobtype} # liburcu_stable-0.8_build # # jobtypes: # - build # - portbuild # - cppcheck # - coverity # - scan-build # - pylint - defaults: name: liburcu description: | liburcu is a LGPLv2.1 userspace RCU (read-copy-update) library. This data synchronization library provides read-side access which scales linearly with the number of cores. It does so by allowing multiples copies of a given data structure to live at the same time, and by monitoring the data structure accesses to detect grace periods after which memory reclamation is possible. liburcu-cds provides efficient data structures based on RCU and lock-free algorithms. Those structures include hash tables, queues, stacks, and doubly-linked lists.

Job is managed by Jenkins Job Builder.

project-type: freestyle logrotate: daysToKeep: -1 numToKeep: 2 artifactDaysToKeep: -1 artifactNumToKeep: -1 wrappers: - workspace-cleanup - timestamps - ansicolor: colormap: xterm scm: - git: url: git://github.com/urcu/userspace-rcu.git browser: githubweb browser-url: https://github.com/urcu/userspace-rcu branches: - origin/{version} triggers: - pollscm: cron: "@hourly" properties: - github: url: https://github.com/urcu/userspace-rcu ## Templates - job-template: name: liburcu_{version}_{buildtype} defaults: liburcu project-type: matrix node: 'master' # Applies only to matrix flyweight task axes: - axis: type: slave name: arch values: '{obj:arch}' - axis: type: user-defined name: conf values: - std - static - tls_fallback - axis: type: user-defined name: build values: '{obj:build}' builders: - shell: !include-raw-escape scripts/liburcu/build.sh # TODO: Scan for open tasks publishers: - warnings: console-log-parsers: - 'GNU Make + GNU C Compiler (gcc)' #total-thresholds: #failed: # total-all: 0 # total-high: 0 # total-normal: 0 # total-low: 0 - archive: artifacts: 'build/**' allow-empty: false - ircbot: strategy: new-failure-and-fixed matrix-notifier: only-parent channels: - name: '#lttng' - job-template: name: liburcu_{version}_cppcheck defaults: liburcu triggers: - pollscm: cron: "@daily" builders: - shell: | rm -f liburcu-cppcheck.xml cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> liburcu-cppcheck.xml publishers: - archive: artifacts: 'liburcu-cppcheck.xml' allow-empty: false - cppcheck: pattern: 'liburcu-cppcheck.xml' - email: recipients: 'ci-notification@lists.lttng.org' notify-every-unstable-build: true send-to-individuals: false - job-template: name: liburcu_{version}_scan-build defaults: liburcu node: 'x86-64' triggers: - pollscm: cron: "@daily" builders: - shell: !include-raw-escape scripts/liburcu/scan-build.sh publishers: - html-publisher: name: 'HTML Report' dir: 'scan-build-archive/' files: 'index.html' - job-template: name: liburcu_{version}_coverity defaults: liburcu node: 'x86-64' triggers: - pollscm: cron: "@daily" wrappers: - workspace-cleanup - timestamps - ansicolor: colormap: xterm - credentials-binding: - username-password-separated: credential-id: liburcu_coverity_token username: COVERITY_SCAN_PROJECT_NAME password: COVERITY_SCAN_TOKEN builders: - shell: !include-raw-escape scripts/common/coverity.sh publishers: - workspace-cleanup ## Project - project: name: liburcu version: !include jobs/inc/liburcu-versions.yaml.inc jobs: - 'liburcu_{version}_{buildtype}': buildtype: build arch: !!python/tuple [x86-32, x86-64] build: !!python/tuple [std, oot, dist] - 'liburcu_{version}_{buildtype}': buildtype: portbuild arch: !!python/tuple [armhf, powerpc, ppc64el] build: !!python/tuple [std] - 'liburcu_{version}_cppcheck' - 'liburcu_{version}_scan-build' - 'liburcu_{version}_coverity': version: master