Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
holo-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xinkong
holo-web
Commits
a2024771
Commit
a2024771
authored
Jan 19, 2024
by
董国亮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设置私仓,编译速度
parent
32913797
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Jenkinsfile
Jenkinsfile
+1
-1
build-dist.js
build-tools/tool/build-dist.js
+1
-1
No files found.
Jenkinsfile
View file @
a2024771
...
@@ -19,7 +19,7 @@ pipeline {
...
@@ -19,7 +19,7 @@ pipeline {
}
}
stage
(
'下载npm包'
)
{
stage
(
'下载npm包'
)
{
steps
{
steps
{
sh
'cd build-tools && npm i'
sh
'cd build-tools && npm i
--registry http://10.102.1.182:58081/repository/npm-all/
'
}
}
}
}
stage
(
'打包构建'
)
{
stage
(
'打包构建'
)
{
...
...
build-tools/tool/build-dist.js
View file @
a2024771
...
@@ -8,7 +8,7 @@ let system = process.argv.splice(2);
...
@@ -8,7 +8,7 @@ let system = process.argv.splice(2);
async
function
build
(
key
)
{
async
function
build
(
key
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
const
command
=
`cd ../
${
key
}
&& npm i && npm run build`
;
const
command
=
`cd ../
${
key
}
&& npm i
--registry http://10.102.1.182:58081/repository/npm-all/
&& npm run build`
;
console
.
log
(
chalk
.
yellow
(
`开始构建子系统
${
key
}
,执行:
${
command
}
`
));
console
.
log
(
chalk
.
yellow
(
`开始构建子系统
${
key
}
,执行:
${
command
}
`
));
shell
.
exec
(
shell
.
exec
(
command
,
command
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment