Skip to content
Snippets Groups Projects
Commit 955b5d98 authored by Lars Bilke's avatar Lars Bilke
Browse files

Added ccache volume mapping to Docker scripts.

parent f51ec6e5
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ node('docker') ...@@ -9,7 +9,7 @@ node('docker')
// Multiple configurations are build in parallel // Multiple configurations are build in parallel
parallel linux: { parallel linux: {
docker.image('ogs6/clang-ogs-base:latest').inside docker.image('ogs6/clang-ogs-base:latest').inside('-v /home/core/.ccache:/usr/src/.ccache')
{ {
catchError { catchError {
build 'build', '-DOGS_ADDRESS_SANITIZER=ON -DOGS_UNDEFINED_BEHAVIOR_SANITIZER=ON', '' build 'build', '-DOGS_ADDRESS_SANITIZER=ON -DOGS_UNDEFINED_BEHAVIOR_SANITIZER=ON', ''
......
...@@ -8,7 +8,7 @@ node('docker') ...@@ -8,7 +8,7 @@ node('docker')
} }
stage 'Build' stage 'Build'
docker.image('ogs6/gcc-ogs-base:latest').inside { docker.image('ogs6/gcc-ogs-base:latest').inside('-v /home/core/.ccache:/usr/src/.ccache') {
build 'build', '', 'package tests ctest' build 'build', '', 'package tests ctest'
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment