Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
global-jenkinsfile
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
global-jenkinsfile
Commits
20e08e51
Commit
20e08e51
authored
Apr 04, 2018
by
wentao.suo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffff
parent
07f7f3cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
StageBucket.groovy
src/org/qg/docker_new/StageBucket.groovy
+3
-1
No files found.
src/org/qg/docker_new/StageBucket.groovy
View file @
20e08e51
...
@@ -134,6 +134,7 @@ def checkout_nodejs(systemName, branchName) {
...
@@ -134,6 +134,7 @@ def checkout_nodejs(systemName, branchName) {
def
checkout_luaui
(
systemNames
,
branchNames
)
{
def
checkout_luaui
(
systemNames
,
branchNames
)
{
_utils
().
beautyEcho
(
"checkout_lua_ui :"
+
systemNames
,
"info"
)
_utils
().
beautyEcho
(
"checkout_lua_ui :"
+
systemNames
,
"info"
)
sh
"cp -rf /home/quant_group/config_repository/lua-ui/npmrc/npmrc /root/.npmrc"
if
(
systemNames
.
contains
(
"--"
)){
if
(
systemNames
.
contains
(
"--"
)){
_utils
().
beautyEcho
(
"complex ui projects :"
+
systemNames
,
"info"
)
_utils
().
beautyEcho
(
"complex ui projects :"
+
systemNames
,
"info"
)
t1
=
systemNames
.
split
(
"/"
)
t1
=
systemNames
.
split
(
"/"
)
...
@@ -184,6 +185,7 @@ def checkout_luaui(systemNames, branchNames) {
...
@@ -184,6 +185,7 @@ def checkout_luaui(systemNames, branchNames) {
).trim()
).trim()
def folder = new File( "${currentPath}/.git/hooks" )*/
def folder = new File( "${currentPath}/.git/hooks" )*/
sh
"cp -rf /home/quant_group/config_repository/lua-ui/hook/post-merge .git/hooks/"
sh
"cp -rf /home/quant_group/config_repository/lua-ui/hook/post-merge .git/hooks/"
sh
"chmod +x .git/hooks/post-merge"
sh
"chmod +x .git/hooks/post-merge"
...
@@ -193,7 +195,7 @@ def checkout_luaui(systemNames, branchNames) {
...
@@ -193,7 +195,7 @@ def checkout_luaui(systemNames, branchNames) {
if
(
bowerFile
)
{
if
(
bowerFile
)
{
sh
"bower install --allow-root"
sh
"bower install --allow-root"
}
}
sh
"npm install
-g
"
sh
"npm install"
}
}
...
...
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