Updated Jenkins configuration to use , to be consistent with the GitLab caching mechanism.
This commit is contained in:
parent
0d5c3f3643
commit
0bfe578810
@ -14,8 +14,8 @@ RUN git clone https://github.com/google/protobuf.git && \
|
||||
rm -r protobuf
|
||||
|
||||
|
||||
RUN mkdir /cargocache && chmod -R ugo+rwX /cargocache
|
||||
RUN mkdir -p /cache/cargocache && chmod -R ugo+rwX /cache/cargocache
|
||||
|
||||
ENV CARGO_HOME /cargocache
|
||||
ENV CARGO_HOME /cache/cargocache
|
||||
|
||||
RUN rustup component add rustfmt clippy
|
||||
|
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -2,7 +2,7 @@ pipeline {
|
||||
agent {
|
||||
dockerfile {
|
||||
filename 'Dockerfile'
|
||||
args '-v cargo-cache:/cargocache:rw -e "CARGO_HOME=/cargocache"'
|
||||
args '-v cargo-cache:/cache/cargocache:rw -e "CARGO_HOME=/cache/cargocache"'
|
||||
}
|
||||
}
|
||||
stages {
|
||||
|
Loading…
Reference in New Issue
Block a user