Skip to content
Snippets Groups Projects
Commit 599b6511 authored by 준하 김's avatar 준하 김
Browse files

Update Jenkinsfile

parent 98b17bee
No related branches found
No related tags found
No related merge requests found
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'
}
}
}
pipeline {
agent any
stages {
stage('Prepare') {
agent any
stage('maven build') {
steps {
checkout scm
sh 'mvn package'
}
post {
success {
echo 'prepare success'
echo 'maven build success'
}
failure {
echo 'maven build failed'
}
always {
echo 'done prepare'
}
cleanup {
echo 'after all other post conditions'
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment