X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flibdelorean-java.yml;h=68c28c5437b3fd07e59af25341a3220d5028441c;hb=9d9c173f49f607ea4a93fc04fa92f74281c2f7db;hp=68ee18de56e80dba60b381463732b28c0ef4fbb5;hpb=e406c1c2260867f403146da51b456c6c829b0730;p=lttng-ci.git diff --git a/jobs/libdelorean-java.yml b/jobs/libdelorean-java.yml index 68ee18d..68c28c5 100644 --- a/jobs/libdelorean-java.yml +++ b/jobs/libdelorean-java.yml @@ -1,5 +1,5 @@ - defaults: - name: libdelorean-java + name: libdelorean-java-mvn description: | Nightly build of libdelorean Java. @@ -39,11 +39,44 @@ - github: url: https://github.com/{github_user}/{github_name} +- defaults: + name: libdelorean-java + description: | + Nightly build of libdelorean Java. + +

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" + + properties: + - build-discarder: + num-to-keep: 2 + - github: + url: https://github.com/{github_user}/{github_name} + ## Templates - job-template: name: libdelorean-java_{version}_build - defaults: libdelorean-java + defaults: libdelorean-java-mvn publishers: - warnings: @@ -60,6 +93,52 @@ recipients: alex@voxpopuli.im matrix-trigger: only-parent +- job-template: + name: libdelorean-java_{version}_coverity + defaults: libdelorean-java + node: 'x86-64' + + triggers: + - pollscm: + cron: "@daily" + + wrappers: + - workspace-cleanup + - timestamps + - ansicolor: + colormap: xterm + - credentials-binding: + - username-password-separated: + credential-id: libdelorean-java_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/libdelorean-java + + 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: libdelorean-java @@ -69,3 +148,5 @@ - master jobs: - 'libdelorean-java_{version}_build' + - 'libdelorean-java_{version}_coverity': + version: master