Update rust env vars
Some checks failed
gitea-sync/luafcgi/pipeline/head There was a failure building this commit

This commit is contained in:
DanyLE 2023-01-26 21:19:51 +01:00
parent 751054f4c7
commit 5e079a055e

7
Jenkinsfile vendored
View File

@ -1,10 +1,9 @@
def build_luad() { def build_luad() {
sh ''' sh '''
set -e set -e
echo $HOME export RUSTUP_HOME=/root/.rustup/
export RUSTUP_HOME=$HOME/.rustup/ export CARGO_HOME=/root/.cargo/
export CARGO_HOME=$HOME/.cargo/ . /root/.cargo/env
. $HOME/.cargo/env
cd $WORKSPACE cd $WORKSPACE
mkdir -p build/$arch/opt/www/bin mkdir -p build/$arch/opt/www/bin
DESTDIR=$WORKSPACE/build/$arch/opt/www/bin DESTDIR=$WORKSPACE/build/$arch/opt/www/bin