- defaults: name: lttng-analyses description: | LTTng analyses python scripts.

Job is managed by Jenkins Job Builder.

project-type: freestyle wrappers: - ansicolor: colormap: xterm - timeout: timeout: 10 fail: true type: no-activity - timestamps - workspace-cleanup - credentials-binding: - username-password-separated: credential-id: lttng-analyses_codecov_token username: CODECOV_PROJECT_NAME password: CODECOV_TOKEN scm: - git: url: https://github.com/{github_user}/{github_name}.git browser: githubweb browser-url: https://github.com/{github_user}/{github_name} branches: - origin/{version} basedir: src/lttng-analyses skip-tag: true triggers: - pollscm: cron: "@hourly" properties: - build-discarder: num-to-keep: 10 artifact-num-to-keep: 2 - github: url: https://github.com/{github_user}/{github_name} ## Templates - job-template: name: lttng-analyses_{version}_linuxbuild defaults: lttng-analyses project-type: matrix node: 'master' # Applies only to matrix flyweight task axes: - axis: type: slave name: platform values: '{obj:platforms}' - axis: type: user-defined name: babeltrace_version values: '{obj:babeltrace_versions}' builders: - copyartifact: project: dev_upstream_babeltrace_${{babeltrace_version}}_linuxbuild/platform=${{platform}},build=std,conf=python-bindings which-build: last-successful stable: false filter: 'build/**' target: 'deps/babeltrace' - shell: !include-raw-escape: scripts/lttng-analyses/build.sh publishers: - workspace-cleanup: <tng-analyses_publisher_workspace-cleanup_defaults clean-if: - failure: false - ircbot: <tng-analyses_publisher_ircbot_defaults strategy: statechange-only message-type: summary matrix-notifier: only-parent - email-ext: <tng-analyses_publisher_email_ext_defaults 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-analyses_{version}_pylint defaults: lttng-analyses node: 'deb12-amd64' triggers: - pollscm: cron: "@daily" builders: - copyartifact: project: dev_upstream_babeltrace_{babeltrace_version}_linuxbuild/platform=deb12-amd64,build=std,conf=python-bindings which-build: last-successful stable: false filter: 'build/**' target: 'deps/babeltrace' - shell: !include-raw-escape: scripts/lttng-analyses/pylint.sh publishers: - archive: artifacts: 'pylint.out' - workspace-cleanup: *lttng-analyses_publisher_workspace-cleanup_defaults - ircbot: *lttng-analyses_publisher_ircbot_defaults - email-ext: *lttng-analyses_publisher_email_ext_defaults ## Project - project: name: lttng-analyses github_user: lttng github_name: lttng-analyses email_to: 'ci-notification@lists.lttng.org' version: - master jobs: - 'lttng-analyses_{version}_linuxbuild': platforms: !!python/tuple [deb12-amd64] babeltrace_versions: !!python/tuple [stable-1.5] - 'lttng-analyses_{version}_pylint': babeltrace_version: stable-1.5