mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:55:49 +00:00
Create Jenkinsfile
This commit is contained in:
parent
d9050dbff4
commit
33f019e227
1 changed files with 50 additions and 0 deletions
50
Jenkinsfile
vendored
Normal file
50
Jenkinsfile
vendored
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
pipeline {
|
||||||
|
agent any
|
||||||
|
stages {
|
||||||
|
stage('Checkstyle') {
|
||||||
|
steps {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Tests') {
|
||||||
|
steps {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Build') {
|
||||||
|
steps {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Create docker image') {
|
||||||
|
steps {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Tag the docker image') {
|
||||||
|
steps {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Push to DockerHub') {
|
||||||
|
steps {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Change stages') {
|
||||||
|
steps {
|
||||||
|
echo "this is the start of the new stage with the main branch"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Create docker image') {
|
||||||
|
steps {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Push docker image to main repository') {
|
||||||
|
steps {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue