增加h5的持续集成脚本
This commit is contained in:
@@ -9,7 +9,7 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
checkout([
|
checkout([
|
||||||
$class: 'GitSCM',
|
$class: 'GitSCM',
|
||||||
branches: [[name: '*/h5-native']],
|
branches: [[name: '*/build']],
|
||||||
doGenerateSubmoduleConfigurations: false,
|
doGenerateSubmoduleConfigurations: false,
|
||||||
extensions: [],
|
extensions: [],
|
||||||
submoduleCfg: [],
|
submoduleCfg: [],
|
||||||
@@ -21,7 +21,7 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
echo "正在打包的工程==>: ${params.pid}"
|
echo "正在打包的工程==>: ${params.pid}"
|
||||||
sh "npm i"
|
sh "npm i"
|
||||||
sh "node bin/build.js ${params.pid}&&npm run build"
|
sh "node bin/pages.js ${params.pid}&&npm run build"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('部署') {
|
stage('部署') {
|
||||||
|
|||||||
Reference in New Issue
Block a user