build: 修改打包时前端的link配置
This commit is contained in:
parent
16b602c068
commit
0a984320af
|
@ -29,6 +29,7 @@ pipeline {
|
|||
if (params.buildParent) {
|
||||
BUILD_PARENT = true
|
||||
}
|
||||
env.FRONTEND_LINK = params.frontendLink
|
||||
env.REVISION = "${REVISION}"
|
||||
env.BUILD_SDK = "${BUILD_SDK}"
|
||||
env.BUILD_PARENT = "${BUILD_PARENT}"
|
||||
|
@ -61,6 +62,11 @@ pipeline {
|
|||
java -version
|
||||
./mvnw install -N -Drevision=${REVISION} --settings ./settings.xml
|
||||
./mvnw clean install -Drevision=${REVISION} -pl framework,framework/sdk-parent,framework/sdk-parent/domain,framework/sdk-parent/sdk,framework/sdk-parent/xpack-interface --settings ./settings.xml
|
||||
|
||||
# 复制前端代码
|
||||
if [ -n ${FRONTEND_LINK} ]; then
|
||||
cp -r framework/sdk-parent/frontend ${FRONTEND_LINK}/frontend/.npm_tmp
|
||||
fi
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue