From 5e079a055eea899abb7113ee39d99644884ec794 Mon Sep 17 00:00:00 2001 From: DanyLE Date: Thu, 26 Jan 2023 21:19:51 +0100 Subject: [PATCH] Update rust env vars --- Jenkinsfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 66f71c3..9d80e28 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,10 +1,9 @@ def build_luad() { sh ''' set -e - echo $HOME - export RUSTUP_HOME=$HOME/.rustup/ - export CARGO_HOME=$HOME/.cargo/ - . $HOME/.cargo/env + export RUSTUP_HOME=/root/.rustup/ + export CARGO_HOME=/root/.cargo/ + . /root/.cargo/env cd $WORKSPACE mkdir -p build/$arch/opt/www/bin DESTDIR=$WORKSPACE/build/$arch/opt/www/bin