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
62be8f13
Commit
62be8f13
authored
Apr 09, 2018
by
wentao.suo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffffffff
parent
280c7b7d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
StageBucket.groovy
src/org/qg/docker_new/StageBucket.groovy
+6
-1
qgDockerPiplineWithDockerSlave.groovy
vars/qgDockerPiplineWithDockerSlave.groovy
+2
-2
No files found.
src/org/qg/docker_new/StageBucket.groovy
View file @
62be8f13
...
...
@@ -348,7 +348,7 @@ def checkAndBuild(buildType,systemName,branchName,contextDir){
def
pacegeDockerInfo
=
getDocketPackageImage
(
buildType
)
docker
.
image
(
pacegeDockerInfo
[
"image"
]).
inside
(
pacegeDockerInfo
[
"args"
]){
try
{
/*checkout code*/
checkout
(
buildType
,
systemName
,
branchName
)
...
...
@@ -361,6 +361,11 @@ def checkAndBuild(buildType,systemName,branchName,contextDir){
build
(
buildType
,
systemName
,
contextDir
)
}
catch
(
err
){
sleep
120
throw
err
}
}
}
vars/qgDockerPiplineWithDockerSlave.groovy
View file @
62be8f13
...
...
@@ -97,11 +97,11 @@ def call(body) {
}
catch
(
err
)
{
_utils
.
beautyEcho
(
err
,
"fail"
)
/* sh "rm -rf ${contextDir}"*/
sh
"rm -rf ${contextDir}"
if
(
imageTag
){
_stage
.
clean_images
(
imageTag
)
}
sleep
120
throw
err
...
...
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