From afa84d21e7964f0cfff4467f7a4080d5d6a0bb0e Mon Sep 17 00:00:00 2001 From: Araozu Date: Wed, 30 Aug 2023 18:43:43 -0500 Subject: [PATCH] Update Jenkinsfile.groovy --- Jenkinsfile.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy index 77cf37c..7bbc8c4 100644 --- a/Jenkinsfile.groovy +++ b/Jenkinsfile.groovy @@ -5,7 +5,8 @@ pipeline { stage('Build backend') { steps { sh "whoami" - sh "source /var/lib/jenkins/.cargo/env" + sh "echo $PATH" + sh "which cargo" sh "cd ${env.WORKSPACE}/backend" sh "cargo build --release" }