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
b4b90fff
Commit
b4b90fff
authored
Apr 09, 2018
by
wentao.suo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fffff
parent
44b53cbc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
StageBucket.groovy
src/org/qg/docker_new/StageBucket.groovy
+9
-9
No files found.
src/org/qg/docker_new/StageBucket.groovy
View file @
b4b90fff
...
@@ -186,20 +186,20 @@ def build(buildType,systemName, contextDir){
...
@@ -186,20 +186,20 @@ def build(buildType,systemName, contextDir){
}
}
def
build_java
(
systemName
,
contextDir
)
{
def
build_java
(
systemName
,
contextDir
)
{
def
res_json
=
project_attr
(
systemName
)
def
projectAttr
=
project_attr
(
systemName
)
buildCmd
=
res_json
[
"buildCmd"
]
buildCmd
=
projectAttr
[
"buildCmd"
]
jarFilePath
=
project
_a
ttr
[
"jarFilePath"
]
jarFilePath
=
project
A
ttr
[
"jarFilePath"
]
sh
buildCmd
sh
buildCmd
sh
"cp ${jarFilePath}/*.jar ${contextDir}/app.jar"
sh
"cp ${jarFilePath}/*.jar ${contextDir}/app.jar"
}
}
def
build_nodejs
(
systemName
,
contextDir
)
{
def
build_nodejs
(
systemName
,
contextDir
)
{
def
res_json
=
project_attr
(
systemName
)
def
projectAttr
=
project_attr
(
systemName
)
configPath
=
res_json
[
"configPath"
]
configPath
=
projectAttr
[
"configPath"
]
buildCmd
=
res_json
[
"buildCmd"
]
buildCmd
=
projectAttr
[
"buildCmd"
]
configName
=
systemName
configName
=
systemName
sh
"mv -f env.config.js ${configPath}"
sh
"mv -f env.config.js ${configPath}"
...
@@ -216,9 +216,9 @@ def build_python( systemName, contextDir) {
...
@@ -216,9 +216,9 @@ def build_python( systemName, contextDir) {
def
build_luaui
(
systemName
,
contextDir
)
{
def
build_luaui
(
systemName
,
contextDir
)
{
def
res_json
=
project_attr
(
systemName
)
def
projectAttr
=
project_attr
(
systemName
)
configPath
=
res_json
[
"configPath"
]
configPath
=
projectAttr
[
"configPath"
]
buildCmd
=
res_json
[
"buildCmd"
]
buildCmd
=
projectAttr
[
"buildCmd"
]
configName
=
systemName
configName
=
systemName
sh
"mv -f ./${systemName}.env.config.js ${configPath}"
sh
"mv -f ./${systemName}.env.config.js ${configPath}"
sh
buildCmd
sh
buildCmd
...
...
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