X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Fliburcu.yaml;h=02df23096d5981744b65956d940ce1a664a7f0e2;hb=591756e5c978eed7b4ed8fa650854793dc29b536;hp=d36e101b6ee28651c4c7cce1c83141fbe036387a;hpb=72f4f0c1881d89d5dc8e1a7887500cc6b365aace;p=lttng-ci.git diff --git a/jobs/liburcu.yaml b/jobs/liburcu.yaml index d36e101..02df230 100644 --- a/jobs/liburcu.yaml +++ b/jobs/liburcu.yaml @@ -27,12 +27,6 @@ project-type: freestyle - logrotate: - daysToKeep: -1 - numToKeep: 2 - artifactDaysToKeep: -1 - artifactNumToKeep: -1 - wrappers: - workspace-cleanup - timestamps @@ -41,19 +35,26 @@ scm: - git: - url: git://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 + browser-url: https://github.com/{github_user}/{github_name} branches: - origin/{version} + basedir: src/liburcu + skip-tag: true triggers: - pollscm: cron: "@hourly" properties: + - inject: + properties-content: | + PROJECT_NAME=liburcu + - build-discarder: + num-to-keep: 2 - github: - url: https://github.com/urcu/userspace-rcu + url: https://github.com/{github_user}/{github_name} ## Templates @@ -82,19 +83,19 @@ builders: - shell: - !include-raw-escape scripts/liburcu/build.sh + !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 + total-thresholds: + unstable: + total-all: 0 + total-high: 0 + total-normal: 0 + total-low: 0 - archive: artifacts: 'build/**' allow-empty: false @@ -115,7 +116,7 @@ builders: - shell: | rm -f liburcu-cppcheck.xml - cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> liburcu-cppcheck.xml + cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/liburcu 2> liburcu-cppcheck.xml publishers: - archive: @@ -139,7 +140,7 @@ builders: - shell: - !include-raw-escape scripts/liburcu/scan-build.sh + !include-raw-escape: scripts/common/scan-build.sh publishers: - html-publisher: @@ -169,17 +170,22 @@ builders: - shell: - !include-raw-escape scripts/common/coverity.sh + !include-raw-escape: scripts/common/coverity.sh publishers: - workspace-cleanup + - archive: + artifacts: 'analysis-results.tgz,cov-int/**' + allow-empty: false ## Project - project: name: liburcu + github_user: urcu + github_name: userspace-rcu version: - !include jobs/inc/liburcu-versions.yaml.inc + !include: jobs/inc/liburcu-versions.yaml.inc jobs: - 'liburcu_{version}_{buildtype}': buildtype: build @@ -193,6 +199,13 @@ 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}_{buildtype}': + buildtype: macosxbuild + arch: !!python/tuple [macosx] + build: !!python/tuple [std] version: - master - stable-0.9