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
dabd04f0
Commit
dabd04f0
authored
Dec 12, 2017
by
daidekun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
systemName to lowerSystemName = systemName.toLowerCase()
parent
e47c643c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
StageBucket.groovy
src/org/qg/docker/StageBucket.groovy
+0
-1
qgDockerPipeline.groovy
vars/qgDockerPipeline.groovy
+1
-1
No files found.
src/org/qg/docker/StageBucket.groovy
View file @
dabd04f0
...
@@ -139,7 +139,6 @@ def dockerbuild_and_push(buildNumber, branchName, harborGroup, systemName, conte
...
@@ -139,7 +139,6 @@ def dockerbuild_and_push(buildNumber, branchName, harborGroup, systemName, conte
regex
=
"[`,./;\\[\\]&<>?:\"()|-]+"
regex
=
"[`,./;\\[\\]&<>?:\"()|-]+"
safeBranchName
=
branchName
.
replaceAll
(
regex
,
"_"
)
safeBranchName
=
branchName
.
replaceAll
(
regex
,
"_"
)
safeSystemName
=
"project"
safeSystemName
=
"project"
lowerSystemName
=
systemName
.
toLowerCase
()
imageTag
=
"192.168.4.36/${harborGroup}/${lowerSystemName}:${safeBranchName}-${buildNumber}"
imageTag
=
"192.168.4.36/${harborGroup}/${lowerSystemName}:${safeBranchName}-${buildNumber}"
...
...
vars/qgDockerPipeline.groovy
View file @
dabd04f0
...
@@ -13,7 +13,7 @@ def call(body) {
...
@@ -13,7 +13,7 @@ def call(body) {
t
=
gitRepo
.
split
(
"/"
)
t
=
gitRepo
.
split
(
"/"
)
def
gitGroup
=
t
[
0
]
def
gitGroup
=
t
[
0
]
def
systemName
=
t
[
1
]
def
systemName
=
t
[
1
]
.
toLowerCase
()
def
harborGroup
=
"library"
def
harborGroup
=
"library"
def
workspace
=
"/home/quant_group/jenkins_home/workspace/${env.JOB_NAME}"
def
workspace
=
"/home/quant_group/jenkins_home/workspace/${env.JOB_NAME}"
...
...
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