diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy index 350de9d..eaa9ae0 100644 --- a/Jenkinsfile.groovy +++ b/Jenkinsfile.groovy @@ -6,12 +6,13 @@ pipeline { agent { docker { image 'rust:buster' - args '-v /srv/jenkins/.cargo:/root/.cargo' + // args '-v /srv/jenkins/.cargo:/root/.cargo' // reuseNode true } } steps { + sh "sh cargo install" sh "sh cargo --version" sh "cd ${env.WORKSPACE}/backend" sh "cargo build --release"