Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jenkinsfile_performanceTest
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
Khawaja Ibrahim Mohiuddin
jenkinsfile_performanceTest
Commits
5de4aab7
Commit
5de4aab7
authored
Feb 19, 2020
by
kmohiuddin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add stage checking param
parent
2edf6343
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
Jenkinsfile
Jenkinsfile
+15
-2
No files found.
Jenkinsfile
View file @
5de4aab7
...
...
@@ -11,10 +11,23 @@ pipeline {
checkout
scm
}
}
stage
(
'checking params'
)
{
steps
{
script
{
// On first build by user just load the parameters as they are not available of first run on new branches
if
(
env
.
BUILD_NUMBER
.
equals
(
"1"
)
&&
currentBuild
.
getBuildCauses
(
'hudson.model.Cause$UserIdCause'
)
!=
null
)
{
currentBuild
.
displayName
=
'Parameter loading'
addBuildDescription
(
'Please restart pipeline'
)
currentBuild
.
result
=
'ABORTED'
error
(
'Stopping initial manually triggered build as we only want to get the parameters'
)
}
}
}
}
stage
(
'test'
)
{
steps
{
test
(
"/home/kmohiuddin/.jenkins/workspace/performance_test/file.yaml"
)
}
}
}
}
\ No newline at end of file
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