JK
This commit is contained in:
parent
f30aea63bf
commit
3ff7f9d60a
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -62,7 +62,6 @@ pipeline {
|
|||||||
sh '''#!/bin/bash -e
|
sh '''#!/bin/bash -e
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y --no-install-recommends openjdk-21-jre-headless
|
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) ---
|
# --- Install ICU runtime (Debian uses versioned package names) ---
|
||||||
if ! ldconfig -p | grep -qi libicu; then
|
if ! ldconfig -p | grep -qi libicu; then
|
||||||
@ -70,12 +69,12 @@ pipeline {
|
|||||||
if [ -n "$PKG" ]; then
|
if [ -n "$PKG" ]; then
|
||||||
echo "Installing ICU package: ${PKG}"
|
echo "Installing ICU package: ${PKG}"
|
||||||
apt-get install -y --no-install-recommends "${PKG}"
|
apt-get install -y --no-install-recommends "${PKG}"
|
||||||
else
|
else
|
||||||
echo "Falling back to libicu-dev..."
|
echo "Installing fallback ICU development package..."
|
||||||
apt-get install -y --no-install-recommends libicu-dev
|
apt-get install -y --no-install-recommends libicu-dev
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Install .NET SDK locally for the build user
|
# Install .NET SDK locally for the build user
|
||||||
mkdir -p "${WORKSPACE}/.dotnet"
|
mkdir -p "${WORKSPACE}/.dotnet"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user