Update Jenkinsfile.groovy
parent
afa84d21e7
commit
fce57d1c17
|
@ -6,6 +6,8 @@ pipeline {
|
|||
steps {
|
||||
sh "whoami"
|
||||
sh "echo $PATH"
|
||||
sh "export PATH="$PATH:/var/lib/jenkins/.local/share:/var/lib/jenkins/.cargo/bin/""
|
||||
sh "echo $PATH"
|
||||
sh "which cargo"
|
||||
sh "cd ${env.WORKSPACE}/backend"
|
||||
sh "cargo build --release"
|
||||
|
|
Loading…
Reference in New Issue