mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 15:25:49 +00:00
build: added Jenkinsfile
This commit is contained in:
parent
15d9a664fe
commit
890c478f51
1 changed files with 34 additions and 0 deletions
34
Jenkinsfile
vendored
Normal file
34
Jenkinsfile
vendored
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
pipeline{
|
||||||
|
agent{
|
||||||
|
label "ubuntu-agent"
|
||||||
|
}
|
||||||
|
stages{
|
||||||
|
stage("A"){
|
||||||
|
steps{
|
||||||
|
sh "printenv"
|
||||||
|
}
|
||||||
|
post{
|
||||||
|
always{
|
||||||
|
echo "========always========"
|
||||||
|
}
|
||||||
|
success{
|
||||||
|
echo "========A executed successfully========"
|
||||||
|
}
|
||||||
|
failure{
|
||||||
|
echo "========A execution failed========"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
post{
|
||||||
|
always{
|
||||||
|
echo "========always========"
|
||||||
|
}
|
||||||
|
success{
|
||||||
|
echo "========pipeline executed successfully ========"
|
||||||
|
}
|
||||||
|
failure{
|
||||||
|
echo "========pipeline execution failed========"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue