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