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
42f45de1
Commit
42f45de1
authored
Apr 03, 2018
by
wentao.suo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ff
parent
ad0e0c60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
debugPipeline.groovy
vars/debugPipeline.groovy
+7
-6
No files found.
vars/debugPipeline.groovy
View file @
42f45de1
...
@@ -66,7 +66,7 @@ def call(body) {
...
@@ -66,7 +66,7 @@ def call(body) {
echo
applicaton_properties
echo
applicaton_properties
sh
"if [ -f ${applicaton_properties} ]; then cp -rf ${applicaton_properties} ${contextDir}/application.properties; else echo \"##
not exist
##\" > ${contextDir}/application.properties; fi"
sh
"if [ -f ${applicaton_properties} ]; then cp -rf ${applicaton_properties} ${contextDir}/application.properties; else echo \"##
useing apollo
##\" > ${contextDir}/application.properties; fi"
sh
"cp -rf /home/quant_group/qg-dockerfiles/templates_new/java/* ${contextDir}"
sh
"cp -rf /home/quant_group/qg-dockerfiles/templates_new/java/* ${contextDir}"
...
@@ -102,16 +102,17 @@ def call(body) {
...
@@ -102,16 +102,17 @@ def call(body) {
}
catch
(
err
)
{
}
catch
(
err
)
{
/* sh "rm -rf ${contextDir}"*/
ansiColor
(
'xterm'
)
{
ansiColor
(
'xterm'
)
{
/*if (imageTag) {
_stage.clean_images(imageTag)
}*/
currentBuild
.
result
=
'FAILED'
currentBuild
.
result
=
'FAILED'
/*_utils.beautyEcho(err, "fail")*/
/*_utils.beautyEcho(err, "fail")*/
throw
err
throw
err
}
}
}
}
finlly
(){
sh
"rm -rf ${contextDir}"
_stage
.
clean_images
(
imageTag
)
}
}
}
}
}
...
...
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