Skip to content
Snippets Groups Projects
Commit 9df86c5a authored by dudgns2947's avatar dudgns2947
Browse files

pipeline test

parent 303a6983
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