Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
MySpringWeb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
김영훈
MySpringWeb
Commits
05737ec4
Commit
05737ec4
authored
2 years ago
by
dudgns2947
Browse files
Options
Downloads
Patches
Plain Diff
repipeline
parent
9df86c5a
No related branches found
No related tags found
1 merge request
!8
repipeline
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Jenkinsfile
+75
-28
75 additions, 28 deletions
Jenkinsfile
with
75 additions
and
28 deletions
Jenkinsfile
+
75
−
28
View file @
05737ec4
pipeline
{
agent
any
stages
{
stage
(
'Prepare'
)
{
agent
any
steps
{
checkout
scm
}
}
post
{
post
{
success
{
echo
'prepare success'
}
always
{
echo
'done prepare'
}
cleanup
{
echo
'after all other post conditions'
}
}
}
stage
(
'maven build'
){
pipeline
{
agent
any
stages
{
stage
(
'Prepare'
)
{
agent
any
steps
{
sh
'mvn package'
checkout
scm
}
post
{
success
{
echo
'maven build success'
echo
'prepare success'
}
always
{
echo
'done prepare'
}
failure
{
echo
'maven build failed'
cleanup
{
echo
'after all other post conditions'
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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