Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
test_Shared_library_for_projects
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Khawaja Ibrahim Mohiuddin
test_Shared_library_for_projects
Commits
2f749c0d
There was an error fetching the commit references. Please try again later.
Commit
2f749c0d
authored
5 years ago
by
kmohiuddin
Browse files
Options
Downloads
Patches
Plain Diff
modified file.yaml file path
parent
a8e5d9c0
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
file.yaml
+5
-0
5 additions, 0 deletions
file.yaml
vars/test.groovy
+18
-12
18 additions, 12 deletions
vars/test.groovy
with
23 additions
and
12 deletions
file.yaml
+
5
−
0
View file @
2f749c0d
pipeline
:
pipeline
:
config_file_path
:
/home/kmohiuddin/.jenkins/workspace/performance_test@libs/performance_test/text.properties
config_file_path
:
/home/kmohiuddin/.jenkins/workspace/performance_test@libs/performance_test/text.properties
filePaths
:
file1,
file2,
file3
This diff is collapsed.
Click to expand it.
vars/test.groovy
+
18
−
12
View file @
2f749c0d
def
call
(
String
filepath
)
{
def
call
(
String
filepath
)
{
node
{
node
{
String
sectionHeaderStyle
=
'''
color: white;
background: green;
font-family: Roboto, sans-serif !important;
padding: 5px;
text-align: center;
'''
String
separatorStyle
=
'''
border: 0;
border-bottom: 1px dashed #ccc;
background: #999;
'''
config
=
readYaml
file:
filepath
config
=
readYaml
file:
filepath
config
.
pipeline
.
filePaths
.
each
{
println
it
}
perfProps
=
readProperties
file:
"${config.pipeline.config_file_path}"
perfProps
=
readProperties
file:
"${config.pipeline.config_file_path}"
List
paramCode
=
[]
List
paramCode
=
[]
String
sectionHeaderStyle
=
'''
color: white;
background: green;
font-family: Roboto, sans-serif !important;
padding: 5px;
text-align: center;
'''
String
separatorStyle
=
'''
border: 0;
border-bottom: 1px dashed #ccc;
background: #999;
'''
paramCode
.
add
(
paramCode
.
add
(
[
[
$class
:
'ParameterSeparatorDefinition'
,
$class
:
'ParameterSeparatorDefinition'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment