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
7fdf670c
Commit
7fdf670c
authored
Jan 02, 2018
by
daidekun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
移除ui部分注释掉的代码
parent
aef1c58a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
43 deletions
+0
-43
StageBucket.groovy
src/org/qg/docker/StageBucket.groovy
+0
-43
No files found.
src/org/qg/docker/StageBucket.groovy
View file @
7fdf670c
...
@@ -21,15 +21,6 @@ def prepare_nodejs(systemName, contextDir) {
...
@@ -21,15 +21,6 @@ def prepare_nodejs(systemName, contextDir) {
sh
"cp -rf /home/quant_group/config_repository/nodejs/${systemName}.js env.config.js"
sh
"cp -rf /home/quant_group/config_repository/nodejs/${systemName}.js env.config.js"
}
}
/*def prepare_ui(systemName, contextDir) {
sh "rm -rf ${contextDir}"
sh "cd /home/quant_group/qg-dockerfiles/templates/ui; git pull; cd -"
sh "cp -rf /home/quant_group/qg-dockerfiles/templates/ui ${contextDir}"
sh "cd /home/quant_group/config_repository/java; git pull; cd -"
sh "cp -rf /home/quant_group/config_repository/ui/${systemName}.js env.config.js"
}*/
def
prepare_luaui
(
systemNames
,
contextDir
)
{
def
prepare_luaui
(
systemNames
,
contextDir
)
{
sh
"rm -rf ${contextDir}"
sh
"rm -rf ${contextDir}"
sh
"cd /home/quant_group/qg-dockerfiles/templates/lua-ui; git pull; cd -"
sh
"cd /home/quant_group/qg-dockerfiles/templates/lua-ui; git pull; cd -"
...
@@ -109,40 +100,6 @@ def jsonParse(def json) {
...
@@ -109,40 +100,6 @@ def jsonParse(def json) {
new
groovy
.
json
.
JsonSlurperClassic
().
parseText
(
json
)
new
groovy
.
json
.
JsonSlurperClassic
().
parseText
(
json
)
}
}
/*def build_ui(namespace, systemName, contextDir, repoName, branchName, workspace) {
response = httpRequest "http://192.168.4.3:10088/config_server/get_node_command/${systemName}"
def res_json = jsonParse(response.content)
print "=====Build Command Is====="
echo res_json.toString()
configPath = res_json["configPath"]
buildCmd = res_json["buildCmd"]
configName = systemName
print "=========================="
sh "mv -f env.config.js ${configPath}"
def bowerFile = fileExists './bower.json'
print "=========env info=========="
sh '''#!/bin/bash
ruby -v
pwd
ls
'''
if (bowerFile) {
sh "bower install"
}
sh "npm install"
sh buildCmd
sh 'tar zcf dist.tgz dist/'
sh "mv dist.tgz ${contextDir}"
}
*/
def
build_nodejs
(
namespace
,
systemName
,
contextDir
,
repoName
,
branchName
,
workspace
)
{
def
build_nodejs
(
namespace
,
systemName
,
contextDir
,
repoName
,
branchName
,
workspace
)
{
response
=
httpRequest
"http://192.168.4.3:10088/config_server/get_node_command/${systemName}"
response
=
httpRequest
"http://192.168.4.3:10088/config_server/get_node_command/${systemName}"
...
...
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