Skip to content
Snippets Groups Projects
Commit 568459bb authored by 김영훈's avatar 김영훈
Browse files

Merge branch 'master' into 'main'

pipeline test

See merge request !7
parents 5f2298ff 9df86c5a
No related branches found
No related tags found
1 merge request!7pipeline test
pipeline {
agent any
stages {
stage('Prepare'){
agent any
steps {
checkout scm
}
}post {
success{
echo 'prepare success'
}
always{
echo 'done prepare'
}
cleanup{
echo 'after all other post conditions'
}
}
}
stage('maven build'){
steps {
sh 'mvn package'
}
post {
success{
echo 'maven build success'
}
}
failure {
echo 'maven build failed'
}
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment