X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Fliburcu.yaml;h=1fb1e071e55e4f63679bf6d4c3c7cab5b4cd786d;hb=d2c76ee58ef3d473a7d4f53163a1fd6e1b7653ab;hp=cc41a8e08d37ce4bd0fbb0cd450b981a8ad2c5e9;hpb=9d0846f313b81fe2d15db9037a2d59ad333f7f99;p=lttng-ci.git diff --git a/jobs/liburcu.yaml b/jobs/liburcu.yaml index cc41a8e..1fb1e07 100644 --- a/jobs/liburcu.yaml +++ b/jobs/liburcu.yaml @@ -28,30 +28,29 @@ project-type: freestyle logrotate: - daysToKeep: -1 numToKeep: 2 - artifactDaysToKeep: -1 - artifactNumToKeep: -1 wrappers: - workspace-cleanup - timestamps - - ansicolor + - ansicolor: + colormap: xterm scm: - git: - url: https://github.com/urcu/userspace-rcu.git + url: git://github.com/{github_user}/{github_name}.git browser: githubweb - browser-url: https://github.com/urcu/userspace-rcu.git + browser-url: https://github.com/{github_user}/{github_name} branches: - origin/{version} triggers: - - pollscm: "@hourly" + - pollscm: + cron: "@hourly" properties: - github: - url: https://github.com/urcu/userspace-rcu/ + url: https://github.com/{github_user}/{github_name} ## Templates @@ -60,6 +59,7 @@ defaults: liburcu project-type: matrix + node: 'master' # Applies only to matrix flyweight task axes: - axis: type: slave @@ -79,7 +79,7 @@ builders: - shell: - !include-raw-escape scripts/liburcu/build.sh + !include-raw-escape: scripts/liburcu/build.sh # TODO: Scan for open tasks publishers: @@ -87,7 +87,7 @@ console-log-parsers: - 'GNU Make + GNU C Compiler (gcc)' total-thresholds: - failed: + unstable: total-all: 0 total-high: 0 total-normal: 0 @@ -95,17 +95,19 @@ - archive: artifacts: 'build/**' allow-empty: false - fingerprint: true - - trigger: - project: lttng-ust-{version} - threshold: SUCCESS + - ircbot: + strategy: new-failure-and-fixed + matrix-notifier: only-parent + channels: + - name: '#lttng' - job-template: name: liburcu_{version}_cppcheck defaults: liburcu triggers: - - pollscm: "@daily" + - pollscm: + cron: "@daily" builders: - shell: | @@ -116,7 +118,6 @@ - archive: artifacts: 'liburcu-cppcheck.xml' allow-empty: false - fingerprint: true - cppcheck: pattern: 'liburcu-cppcheck.xml' - email: @@ -130,11 +131,12 @@ node: 'x86-64' triggers: - - pollscm: "@daily" + - pollscm: + cron: "@daily" builders: - shell: - !include-raw-escape scripts/liburcu/scan-build.sh + !include-raw-escape: scripts/liburcu/scan-build.sh publishers: - html-publisher: @@ -142,16 +144,41 @@ dir: 'scan-build-archive/' files: 'index.html' -# TODO: liburcu_{version}_coverity +- 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 + github_user: urcu + github_name: userspace-rcu version: - - stable-0.7 - - stable-0.8 - - master + !include: jobs/inc/liburcu-versions.yaml.inc jobs: - 'liburcu_{version}_{buildtype}': buildtype: build @@ -159,8 +186,17 @@ build: !!python/tuple [std, oot, dist] - 'liburcu_{version}_{buildtype}': buildtype: portbuild - arch: !!python/tuple [armhf, powerpc] + arch: !!python/tuple [armhf, arm64, powerpc, ppc64el] + build: !!python/tuple [std] + - 'liburcu_{version}_{buildtype}': + buildtype: solarisbuild + arch: !!python/tuple [solaris10, solaris11] build: !!python/tuple [std] + version: # Solaris support was introduced in 0.9 + - master + - stable-0.9 - 'liburcu_{version}_cppcheck' - 'liburcu_{version}_scan-build' + - 'liburcu_{version}_coverity': + version: master