Fixed shell script for installation in Jenkinsfile
Some checks failed
ydeng/props/pipeline/head There was a failure building this commit

This commit is contained in:
Harrison Deng 2024-07-17 21:59:16 +00:00
parent 9cb4219ba8
commit 43d965d1df

2
Jenkinsfile vendored
View File

@ -8,7 +8,7 @@ pipeline {
# According to https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script#examples # According to https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script#examples
# and https://learn.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#scripted-install # and https://learn.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#scripted-install
curl -L -o- https://dot.net/v1/dotnet-install.sh | bash -s -- --channel 8.0 curl -L -o- https://dot.net/v1/dotnet-install.sh | bash -s -- --channel 8.0
echo \'DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1\' >> ~/.profile echo \'export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1\' >> ~/.profile
echo \'export DOTNET_ROOT=$HOME/.dotnet\' >> ~/.profile echo \'export DOTNET_ROOT=$HOME/.dotnet\' >> ~/.profile
echo \'export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools\' >> ~/.profile echo \'export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools\' >> ~/.profile
# Installing Node Version Manager # Installing Node Version Manager