X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Fjabberwocky.yml;h=af63eac2bed9b865ae1ce9937bc9697fe34afd27;hb=fdbdb52a7b069f22c203191e5bfb4cc6b1d7efc4;hp=9eca7d28cfc44ae0a04603fe2f51c376dd1083dd;hpb=61c809bde5d6ba16a2d18977f22862e21a213277;p=lttng-ci.git diff --git a/jobs/jabberwocky.yml b/jobs/jabberwocky.yml index 9eca7d2..af63eac 100644 --- a/jobs/jabberwocky.yml +++ b/jobs/jabberwocky.yml @@ -1,5 +1,5 @@ - defaults: - name: jabberwocky + name: jabberwocky-mvn description: | Nightly build of Jabberwocky. @@ -32,6 +32,41 @@ triggers: - pollscm: cron: "@hourly" + - timed: "@daily" + + properties: + - build-discarder: + num-to-keep: 2 + - github: + url: https://github.com/{github_user}/{github_name} + +- defaults: + name: jabberwocky + description: | + Nightly build of Jabberwocky. + +

Job is managed by Jenkins Job Builder.

+ + project-type: freestyle + + wrappers: + - workspace-cleanup + - timestamps + - ansicolor + + scm: + - git: + url: git://github.com/{github_user}/{github_name}.git + browser: githubweb + browser-url: https://github.com/{github_user}/{github_name} + branches: + - origin/{version} + skip-tag: true + + triggers: + - pollscm: + cron: "@hourly" + - timed: "@daily" properties: - build-discarder: @@ -43,7 +78,7 @@ ## Templates - job-template: name: jabberwocky_{version}_build - defaults: jabberwocky + defaults: jabberwocky-mvn publishers: - warnings: @@ -55,17 +90,113 @@ total-high: 0 total-normal: 0 total-low: 0 + messages-to-ignore: |- + No sources found skipping Kotlin compile + Ignoring project type pom - supportedProjectTypes = \[jar, bundle\] + ^Tests run:.* + .*Source root doesn't exist.* + Could not transfer metadata.*codehaus-snapshots.* - workspace-cleanup - email-ext: - recipients: alex@voxpopuli.im - matrix-trigger: only-parent + recipients: '{obj:email_for_all_failure}' + always: false + unstable: true + first-failure: false + first-unstable: false + not-built: false + aborted: false + regression: false + failure: true + second-failure: false + improvement: false + still-failing: false + success: false + fixed: false + fixed-unhealthy: true + still-unstable: false + pre-build: false + matrix-trigger: only-parent + send-to: + - recipients + - email-ext: + recipients: '{obj:email_to}' + reply-to: ci-notification@lists.lttng.org + always: false + unstable: false + first-failure: true + first-unstable: true + not-built: false + aborted: false + regression: false + failure: false + second-failure: false + improvement: false + still-failing: false + success: false + fixed: false + fixed-unhealthy: true + still-unstable: false + pre-build: false + matrix-trigger: only-parent + send-to: + - recipients + +- job-template: + name: jabberwocky_{version}_coverity + defaults: jabberwocky + node: 'x86-64' + + triggers: + - pollscm: + cron: "@daily" + + wrappers: + - workspace-cleanup + - timestamps + - ansicolor: + colormap: xterm + - credentials-binding: + - username-password-separated: + credential-id: jabberwocky_coverity_token + username: COVERITY_SCAN_PROJECT_NAME + password: COVERITY_SCAN_TOKEN + + scm: + - git: + url: git://github.com/{github_user}/{github_name}.git + browser: githubweb + browser-url: https://github.com/{github_user}/{github_name} + branches: + - origin/{version} + skip-tag: true + basedir: src/jabberwocky + + builders: + - maven-target: + maven-version: "default" + goals: "-version" + private-repository: true + settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' + - shell: + !include-raw-escape: scripts/common/coverity.sh + + publishers: + - workspace-cleanup + - archive: + artifacts: 'analysis-results.tgz,cov-int/**' + allow-empty: false + ## Project - project: name: jabberwocky github_user: efficios github_name: jabberwocky + email_to: 'ci-notification@lists.lttng.org, cc:alexmonthy@efficios.com' + email_for_all_failure: 'alexmonthy@efficios.com' version: - master jobs: - 'jabberwocky_{version}_build' + - 'jabberwocky_{version}_coverity': + version: master