The Multi-SCM plugin is deprecated and breaks recent Jenkins job
configuration UI. Replace its use by scripts.
Change-Id: I87f689dc8f3f4275a5ca5a1bb34eea4112cd67f5
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
triggers:
- timed: '@daily'
+
builders:
- shell:
!include-raw: scripts/babeltrace-benchmark/benchmark.sh
- archive:
artifacts: 'results/**'
allow-empty: false
- scm:
- - babeltrace
- - lttng-ci
+ - workspace-cleanup:
+ clean-if:
+ - failure: false
-- scm:
- name: babeltrace
scm:
- git:
url: https://github.com/efficios/babeltrace.git
browser-url: https://github.com/efficios/babeltrace
basedir: src/babeltrace
skip-tag: true
-- scm:
- name: lttng-ci
- scm:
- - git:
- url: https://github.com/lttng/lttng-ci.git
- browser: githubweb
- browser-url: https://github.com/lttng/lttng-ci
- basedir: src/lttng-ci
- skip-tag: true
-
mkdir -p "$TMPDIR"
export TMPDIR
+function checkout_scripts() {
+ git clone https://github.com/lttng/lttng-ci.git "$SCRIPT_DIR"
+}
+
function setup_env ()
{
mkdir -p "$RESULTS_DIR"
python "$SCRIPT_PATH" --generate-report --repo-path "$SRC_DIR" --report-name "${RESULTS_DIR}/babeltrace-benchmark.pdf"
}
+checkout_scripts
setup_env
run_jobs
generate_report