name: 'rseq'
description: 'Restartable sequences'
view-type: list
- regex: 'librseq_.*|linux-rseq_.*'
+ regex: 'librseq_.*'
## Project
+++ /dev/null
-- defaults:
- name: linux-rseq
- description: |
-
- <p>Job is managed by Jenkins Job Builder.</p>
-
- project-type: freestyle
-
- wrappers:
- - ansicolor
- - timeout:
- timeout: 10
- fail: true
- type: no-activity
- - timestamps
- - workspace-cleanup:
- clean-if:
- - failure: false
-
- scm:
- - git:
- url: git://git-mirror.internal.efficios.com/kernel/rseq/linux-rseq.git
- branches:
- - origin/rseq/dev
- basedir: src/linux-rseq
- skip-tag: true
- reference-repo: "$HOME/gitcache/linux-stable.git/"
-
- triggers:
- - pollscm:
- cron: "@hourly"
-
- properties:
- - inject:
- properties-content: |
- PROJECT_NAME=linux-rseq
- - build-discarder:
- num-to-keep: 2
-
-
-- job-template:
- name: linux-rseq_master_coverity
- defaults: linux-rseq
- node: 'amd64'
-
- triggers:
- - pollscm:
- cron: "@daily"
-
- wrappers:
- - ansicolor
- - timeout:
- timeout: 10
- fail: true
- type: no-activity
- - timestamps
- - workspace-cleanup:
- clean-if:
- - failure: false
- - credentials-binding:
- - username-password-separated:
- credential-id: linux-rseq_coverity_token
- username: COVERITY_SCAN_PROJECT_NAME
- password: COVERITY_SCAN_TOKEN
-
- builders:
- - shell:
- !include-raw-escape: scripts/common/coverity.sh
-
- publishers:
- - workspace-cleanup
- - archive:
- artifacts: 'analysis-results.tgz,cov-int/**'
- allow-empty: false
-
-
-## Project
-- project:
- name: linux-rseq
- email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
- jobs:
- - 'linux-rseq_master_coverity'
-
BUILD_TYPE="maven"
MVN_BIN="$HOME/tools/hudson.tasks.Maven_MavenInstallation/default/bin/mvn"
;;
-linux-rseq)
- CONF_OPTS=""
- BUILD_TYPE="linux-rseq"
- ;;
*)
echo "Generic project, no configure options."
CONF_OPTS=""
cov-build --dir "$RESULTS_DIR" $COVERITY_SCAN_BUILD_OPTIONS make -j"$NPROC" V=1
;;
-linux-rseq)
- make defconfig
- make -j"$NPROC" prepare
- cov-build --dir "$RESULTS_DIR" $COVERITY_SCAN_BUILD_OPTIONS make -j"$NPROC" kernel/rseq.o kernel/do_on_cpu/core.o kernel/do_on_cpu/interpreter.o kernel/do_on_cpu/validate.o V=1
- ;;
*)
echo "Unsupported build type: $BUILD_TYPE"
exit 1
BUILD_TYPE="autotools"
export CLASSPATH="/usr/share/java/log4j-1.2.jar"
;;
-linux-rseq)
- CONF_OPTS=""
- BUILD_TYPE="linux-rseq"
- ;;
*)
echo "Generic project, no configure options."
CONF_OPTS=""
scan-build -k -o "${SCAN_BUILD_TMPDIR}" make -j"$NPROC" V=1
;;
-linux-rseq)
- make defconfig
- make -j"$NPROC" prepare
- scan-build -k -o "${SCAN_BUILD_TMPDIR}" make -j"$NPROC" kernel/rseq.o kernel/do_on_cpu/core.o kernel/do_on_cpu/interpreter.o kernel/do_on_cpu/validate.o V=1
- ;;
*)
echo "Unsupported build type: $BUILD_TYPE"
exit 1