Update Jenkinsfile.groovy

This commit is contained in:
Araozu 2023-08-30 18:48:19 -05:00
parent afa84d21e7
commit fce57d1c17

View File

@ -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"