Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-deploy-utils
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
QA
qa-deploy-utils
Commits
b3f24a61
Commit
b3f24a61
authored
Jul 26, 2017
by
tywldx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change npm config
parent
4759000b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
4_build_by_name.sh
qa_shell_script/4_build_by_name.sh
+8
-7
No files found.
qa_shell_script/4_build_by_name.sh
View file @
b3f24a61
...
@@ -121,13 +121,14 @@ function buildNodeProject()
...
@@ -121,13 +121,14 @@ function buildNodeProject()
rm
-rf
./
$config_file
rm
-rf
./
$config_file
echo
" ------------ln -s
$config_path
/node/
$project
.* ./
$config_file
"
echo
" ------------ln -s
$config_path
/node/
$project
.* ./
$config_file
"
ln
-s
$config_path
/node/
$project
.
*
./
$config_file
ln
-s
$config_path
/node/
$project
.
*
./
$config_file
npmrc
=
`
find ./
-maxdepth
1
-name
".npmrc"
`
# npmrc=`find ./ -maxdepth 1 -name ".npmrc"`
echo
"---------------
$npmrc
"
# echo "---------------$npmrc"
if
[
-n
"
$npmrc
"
]
;
then
# if [ -n "$npmrc" ];then
npm
install
# npm install
else
# else
npm
--registry
http://172.16.3.15:4873
install
npm config
set
"@types:registry"
http://registry.npmjs.org/
fi
npm
--registry
http://172.16.3.15:4873
install
# fi
}
}
...
...
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