jenkins
This commit is contained in:
parent
5341628c0c
commit
02e903469d
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user