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

[Jenkins] Disable Conan caching in Docker.

parent 63695d54
No related branches found
No related tags found
No related merge requests found
...@@ -90,22 +90,18 @@ pipeline { ...@@ -90,22 +90,18 @@ pipeline {
sudo -H pip install -r requirements.txt sudo -H pip install -r requirements.txt
""".stripIndent()) """.stripIndent())
lock(resource: "conanCache-${env.NODE_NAME}") { sh 'conan user'
sh 'conan user' configure {
sh 'find $CONAN_USER_HOME -name "system_reqs.txt" -exec rm {} \\;' cmakeOptions =
configure { '-DOGS_USE_CONAN=ON ' +
cmakeOptions = '-DOGS_CONAN_BUILD=never ' +
'-DOGS_USE_CONAN=ON ' + '-DOGS_CPU_ARCHITECTURE=generic ' +
'-DOGS_CONAN_BUILD=never ' + '-DDOCS_GENERATE_LOGFILE=ON ' // redirects to build/DoxygenWarnings.log
'-DOGS_CPU_ARCHITECTURE=generic ' +
'-DDOCS_GENERATE_LOGFILE=ON ' // redirects to build/DoxygenWarnings.log
}
} }
build { } build { }
build { target="tests" } build { target="tests" }
build { target="ctest" } build { target="ctest" }
build { target="doc" } build { target="doc" }
sh 'find $CONAN_USER_HOME -name "system_reqs.txt" -exec rm {} \\;'
configure { configure {
cmakeOptions = cmakeOptions =
'-DOGS_BUILD_CLI=OFF ' + '-DOGS_BUILD_CLI=OFF ' +
......
...@@ -36,7 +36,6 @@ ENV CCACHE_DIR=/home/jenkins/cache/ccache ...@@ -36,7 +36,6 @@ ENV CCACHE_DIR=/home/jenkins/cache/ccache
RUN mkdir -p $CCACHE_DIR RUN mkdir -p $CCACHE_DIR
ENV CCACHE_MAXSIZE=15G ENV CCACHE_MAXSIZE=15G
ENV CCACHE_SLOPPINESS=pch_defines,time_macros ENV CCACHE_SLOPPINESS=pch_defines,time_macros
ENV CONAN_USER_HOME=/home/jenkins/cache/conan
WORKDIR /home/jenkins WORKDIR /home/jenkins
RUN conan user RUN conan user
......
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