JK
This commit is contained in:
parent
8979615809
commit
f30aea63bf
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@ -64,6 +64,19 @@ pipeline {
|
||||
apt-get install -y --no-install-recommends openjdk-21-jre-headless
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# --- Install ICU runtime (Debian uses versioned package names) ---
|
||||
if ! ldconfig -p | grep -qi libicu; then
|
||||
PKG="$(apt-cache search '^libicu[0-9]+$' | awk '{print $1}' | head -n1 || true)"
|
||||
if [ -n "$PKG" ]; then
|
||||
echo "Installing ICU package: ${PKG}"
|
||||
apt-get install -y --no-install-recommends "${PKG}"
|
||||
else
|
||||
echo "Falling back to libicu-dev..."
|
||||
apt-get install -y --no-install-recommends libicu-dev
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
# Install .NET SDK locally for the build user
|
||||
mkdir -p "${WORKSPACE}/.dotnet"
|
||||
curl -fsSL https://dot.net/v1/dotnet-install.sh -o dotnet-install.sh
|
||||
|
||||
Loading…
Reference in New Issue
Block a user