Added a cargo cache to the dockerfile, so that everything isn't re-downloaded every build.
This commit is contained in:
parent
b6fcb8da94
commit
a88e6ddbf7
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -1,5 +1,10 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent { dockerfile true }
|
agent {
|
||||||
|
dockerfile {
|
||||||
|
filename 'Dockerfile'
|
||||||
|
args '-v cargo-cache:/cargocache:rw -e "CARGO_HOME=/cargocache"'
|
||||||
|
}
|
||||||
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
|
Loading…
Reference in New Issue
Block a user