ci: remove stdb release build name parameter
Some checks failed
CI / verify (push) Has been cancelled
Some checks failed
CI / verify (push) Has been cancelled
This commit is contained in:
@@ -61,6 +61,7 @@ pipeline {
|
|||||||
script {
|
script {
|
||||||
env.SOURCE_COMMIT = readFile('.jenkins-source-commit').trim()
|
env.SOURCE_COMMIT = readFile('.jenkins-source-commit').trim()
|
||||||
env.EFFECTIVE_BUILD_VERSION = params.BUILD_VERSION?.trim() ? params.BUILD_VERSION.trim() : env.BUILD_NUMBER
|
env.EFFECTIVE_BUILD_VERSION = params.BUILD_VERSION?.trim() ? params.BUILD_VERSION.trim() : env.BUILD_NUMBER
|
||||||
|
env.STDB_RELEASE_BUILD_NAME = env.EFFECTIVE_BUILD_VERSION
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -99,7 +100,7 @@ pipeline {
|
|||||||
echo '[stdb-build] 未找到 sccache,改用 rustc 直接构建。'
|
echo '[stdb-build] 未找到 sccache,改用 rustc 直接构建。'
|
||||||
unset RUSTC_WRAPPER
|
unset RUSTC_WRAPPER
|
||||||
fi
|
fi
|
||||||
npm run build:production-release -- --component spacetime-module --name "`$EFFECTIVE_BUILD_VERSION"
|
npm run build:production-release -- --component spacetime-module
|
||||||
"@
|
"@
|
||||||
bash -lc $bashScript
|
bash -lc $bashScript
|
||||||
'''
|
'''
|
||||||
@@ -108,7 +109,7 @@ pipeline {
|
|||||||
|
|
||||||
stage('Archive') {
|
stage('Archive') {
|
||||||
steps {
|
steps {
|
||||||
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
|
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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user