This commit is contained in:
Araozu 2023-09-26 17:39:56 -05:00
parent 5341628c0c
commit 02e903469d

View File

@ -6,12 +6,13 @@ pipeline {
agent { agent {
docker { docker {
image 'rust:buster' image 'rust:buster'
args '-v /srv/jenkins/.cargo:/root/.cargo' // args '-v /srv/jenkins/.cargo:/root/.cargo'
// reuseNode true // reuseNode true
} }
} }
steps { steps {
sh "sh cargo install"
sh "sh cargo --version" sh "sh cargo --version"
sh "cd ${env.WORKSPACE}/backend" sh "cd ${env.WORKSPACE}/backend"
sh "cargo build --release" sh "cargo build --release"