Added a cargo cache to the dockerfile, so that everything isn't re-downloaded every build.

This commit is contained in:
Luke Anderson 2019-02-07 22:49:51 +11:00
parent b6fcb8da94
commit a88e6ddbf7
No known key found for this signature in database
GPG Key ID: 44408169EC61E228

7
Jenkinsfile vendored
View File

@ -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 {