Skip to content

Commit

Permalink
Jenkinsfile: Run with ptrace capabilities
Browse files Browse the repository at this point in the history
Required for LeakSanitizer [1].

[1] google/sanitizers#764 (comment)
  • Loading branch information
fwalch committed Nov 7, 2018
1 parent b984fc7 commit a340be3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ def get_stages(ubuntu_version) {
checkout scm

docker.build("libfranka-ci-worker:${ubuntu_version}",
"-f .ci/Dockerfile.${ubuntu_version} .ci").inside {
"-f .ci/Dockerfile.${ubuntu_version} .ci")
.inside('--cap-add SYS_PTRACE') {
stage("${ubuntu_version}: Build (Debug)") {
sh '.ci/debug.sh'
junit 'build-debug/test_results/*.xml'
Expand Down

0 comments on commit a340be3

Please sign in to comment.