X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-scope.yml;h=ef4fcfe86aa07822d65425ce16f78d9fd23a652a;hb=cf79ed369bb09ac8d56b3014123990f237bd88da;hp=15845952a291f7259dec64ffe2bf84c68eff058f;hpb=80a0203d81c27c931b873587537f9a81d955b49d;p=lttng-ci.git diff --git a/jobs/lttng-scope.yml b/jobs/lttng-scope.yml index 1584595..ef4fcfe 100644 --- a/jobs/lttng-scope.yml +++ b/jobs/lttng-scope.yml @@ -14,9 +14,9 @@ scm: - git: - url: git://github.com/{github_user}/{github_name}.git - browser: githubweb - browser-url: https://github.com/{github_user}/{github_name} + url: https://gitlab.com/{gitlab_user}/{gitlab_project}.git + browser: gitlab + browser-url: https://gitlab.com/{gitlab_user}/{gitlab_project} branches: - origin/{version} skip-tag: true @@ -24,12 +24,11 @@ triggers: - pollscm: cron: "@hourly" + - timed: "@daily" properties: - build-discarder: num-to-keep: 7 - - github: - url: https://github.com/{github_user}/{github_name} ## Templates @@ -44,12 +43,6 @@ type: slave name: arch values: '{obj:arch}' - - axis: - type: user-defined - name: SWT_GTK3 - values: - - "0" - - "1" wrappers: - workspace-cleanup @@ -72,32 +65,79 @@ maven-version: "default" goals: "-version" private-repository: true + settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' - maven-target: maven-version: "default" goals: clean install -Dmaven.test.skip=false private-repository: true settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' - properties: - - maven.test.failure.ignore=true - - eclipse.p2.mirrors=false publishers: - archive: - artifacts: 'releng/org.lttng.scope.rcp.product/target/repository/**,releng/org.lttng.scope.rcp.product/target/products/*' + artifacts: '**/target/*.jar' allow-empty: false only-if-success: true - junit: results: '**/target/surefire-reports/*.xml' + - warnings: + console-log-parsers: + - 'Maven' + total-thresholds: + unstable: + total-all: 0 + 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 -# - ircbot: -# strategy: new-failure-and-fixed -# matrix-notifier: only-parent -# channels: -# - name: '#lttng' - + 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: lttng-scope_{version}_winbuild @@ -113,9 +153,9 @@ scm: - git: - url: git://github.com/{github_user}/{github_name}.git - browser: githubweb - browser-url: https://github.com/{github_user}/{github_name} + url: https://gitlab.com/{gitlab_user}/{gitlab_project}.git + browser: gitlab + browser-url: https://gitlab.com/{gitlab_user}/{gitlab_project} branches: - origin/{version} skip-tag: true @@ -136,26 +176,74 @@ goals: clean install -Dmaven.test.skip=false private-repository: true settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' - properties: - - maven.test.failure.ignore=true - - eclipse.p2.mirrors=false publishers: - archive: - artifacts: 'releng/org.lttng.scope.rcp.product/target/repository/**,releng/org.lttng.scope.rcp.product/target/products/*' + artifacts: '**/target/*.jar' allow-empty: false only-if-success: true - junit: results: '**/target/surefire-reports/*.xml' + - warnings: + console-log-parsers: + - 'Maven' + total-thresholds: + unstable: + total-all: 0 + 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 -# - ircbot: -# strategy: new-failure-and-fixed -# matrix-notifier: only-parent -# channels: -# - name: '#lttng' + 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: @@ -184,47 +272,142 @@ maven-version: "default" goals: "-version" private-repository: true + settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' - maven-target: maven-version: "default" goals: clean install -Dmaven.test.skip=false private-repository: true settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' - properties: - - maven.test.failure.ignore=true - - eclipse.p2.mirrors=false publishers: - archive: - artifacts: 'releng/org.lttng.scope.rcp.product/target/repository/**,releng/org.lttng.scope.rcp.product/target/products/*' + artifacts: '**/target/*.jar' allow-empty: false only-if-success: true - junit: results: '**/target/surefire-reports/*.xml' + - warnings: + console-log-parsers: + - 'Maven' + total-thresholds: + unstable: + total-all: 0 + 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 -# - ircbot: -# strategy: new-failure-and-fixed -# matrix-notifier: only-parent -# channels: -# - name: '#lttng' + 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: lttng-scope_{version}_coverity + defaults: lttng-scope + node: 'x86-64' + + triggers: + - pollscm: + cron: "@daily" + + wrappers: + - workspace-cleanup + - timestamps + - ansicolor: + colormap: xterm + - credentials-binding: + - username-password-separated: + credential-id: lttng-scope_coverity_token + username: COVERITY_SCAN_PROJECT_NAME + password: COVERITY_SCAN_TOKEN + + scm: + - git: + url: https://gitlab.com/{gitlab_user}/{gitlab_project}.git + browser: gitlab + browser-url: https://gitlab.com/{gitlab_user}/{gitlab_project} + branches: + - origin/{version} + skip-tag: true + basedir: src/lttng-scope + + 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: lttng-scope - github_user: lttng - github_name: lttng-scope + gitlab_user: lttng + gitlab_project: lttng-scope/lttng-scope + email_to: 'ci-notification@lists.lttng.org, cc:pproulx@efficios.com' + email_for_all_failure: 'pproulx@efficios.com' version: - master jobs: - 'lttng-scope_{version}_build': arch: !!python/tuple [x86-32, x86-64] - - 'lttng-scope_{version}_winbuild': arch: !!python/tuple [win64] - - 'lttng-scope_{version}_macosxbuild': arch: !!python/tuple [macosx] + - 'lttng-scope_{version}_coverity': + version: master