build: 修改jenkinsfile

This commit is contained in:
CaptainB 2022-10-17 13:41:22 +08:00
parent 913a643442
commit 0aa740a9b7
1 changed files with 3 additions and 1 deletions

4
Jenkinsfile vendored
View File

@ -29,7 +29,9 @@ pipeline {
if (params.buildParent) {
BUILD_PARENT = true
}
env.FRONTEND_LINK = params.frontendLink
if (params.frontendLink != null && !params.frontendLink.equals("")) {
env.FRONTEND_LINK = params.frontendLink
}
env.REVISION = "${REVISION}"
env.BUILD_SDK = "${BUILD_SDK}"
env.BUILD_PARENT = "${BUILD_PARENT}"