From ca394766d1a696906c0bd1913def788ab7d8fac3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8E=86=E5=86=B0=E9=83=81-hermes=E7=89=88?= Date: Wed, 6 May 2026 16:33:43 +0800 Subject: [PATCH] ci: align stdb archive build name --- jenkins/Jenkinsfile.production-stdb-module-build | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/jenkins/Jenkinsfile.production-stdb-module-build b/jenkins/Jenkinsfile.production-stdb-module-build index c382d924..ffd7597c 100644 --- a/jenkins/Jenkinsfile.production-stdb-module-build +++ b/jenkins/Jenkinsfile.production-stdb-module-build @@ -61,7 +61,6 @@ pipeline { script { env.SOURCE_COMMIT = readFile('.jenkins-source-commit').trim() env.EFFECTIVE_BUILD_VERSION = params.BUILD_VERSION?.trim() ? params.BUILD_VERSION.trim() : env.BUILD_NUMBER - env.STDB_RELEASE_BUILD_NAME = env.EFFECTIVE_BUILD_VERSION } } } @@ -93,14 +92,14 @@ pipeline { Write-Host '[stdb-build] 未找到 sccache,改用 rustc 直接构建。' Remove-Item Env:RUSTC_WRAPPER -ErrorAction SilentlyContinue } - npm run build:production-release -- --component spacetime-module + npm run build:production-release -- --component spacetime-module --name "$env:EFFECTIVE_BUILD_VERSION" ''' } } stage('Archive') { steps { - archiveArtifacts artifacts: "build/${env.STDB_RELEASE_BUILD_NAME}/spacetime_module.wasm,build/${env.STDB_RELEASE_BUILD_NAME}/spacetime_module.wasm.sha256,build/${env.STDB_RELEASE_BUILD_NAME}/release-manifest.json", fingerprint: true + archiveArtifacts artifacts: "build/${env.EFFECTIVE_BUILD_VERSION}/spacetime_module.wasm,build/${env.EFFECTIVE_BUILD_VERSION}/spacetime_module.wasm.sha256,build/${env.EFFECTIVE_BUILD_VERSION}/release-manifest.json", fingerprint: true } }