From c3cafc55fff374cf690ccbcbe60ad3be6e7014b3 Mon Sep 17 00:00:00 2001 From: zhenyus Date: Mon, 14 Apr 2025 10:31:56 +0800 Subject: [PATCH] fix(frontend): increase memory limit for build command and update artifacts Signed-off-by: zhenyus --- freeleaps/alpha/ci/freeleaps2-frontend/Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freeleaps/alpha/ci/freeleaps2-frontend/Jenkinsfile b/freeleaps/alpha/ci/freeleaps2-frontend/Jenkinsfile index 580d4440..d0982b11 100644 --- a/freeleaps/alpha/ci/freeleaps2-frontend/Jenkinsfile +++ b/freeleaps/alpha/ci/freeleaps2-frontend/Jenkinsfile @@ -60,8 +60,8 @@ executeFreeleapsPipeline { pnpmPackageJsonFile: 'package.json', buildCacheEnabled: true, buildAgentImage: 'node:lts', - buildCommand: 'pnpm -r build', - buildArtifacts: ['freeleaps/dist'], + buildCommand: 'NODE_OPTIONS=--max-old-space-size=4096 pnpm -r build', + buildArtifacts: ['freeleaps/dist', 'nuxt-frontend/.output/public'], lintEnabled: false, sastEnabled: false, imageRegistry: 'docker.io',