mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 07:45:49 +00:00
Update Jenkinsfile
This commit is contained in:
parent
33f019e227
commit
72853c82bf
1 changed files with 9 additions and 8 deletions
17
Jenkinsfile
vendored
17
Jenkinsfile
vendored
|
@ -3,32 +3,33 @@ pipeline {
|
|||
stages {
|
||||
stage('Checkstyle') {
|
||||
steps {
|
||||
|
||||
sh 'mvn checkstyle:checkstyle'
|
||||
archiveArtifacts artifacts: 'target/checkstyle-result.html', onlyIfSuccessful: true
|
||||
}
|
||||
}
|
||||
stage('Tests') {
|
||||
steps {
|
||||
|
||||
echo "now we will begin the tests"
|
||||
}
|
||||
}
|
||||
stage('Build') {
|
||||
steps {
|
||||
|
||||
echo "now we will begin the build"
|
||||
}
|
||||
}
|
||||
stage('Create docker image') {
|
||||
steps {
|
||||
|
||||
echo "now we will begin the creation of the docker image"
|
||||
}
|
||||
}
|
||||
stage('Tag the docker image') {
|
||||
steps {
|
||||
|
||||
echo "now we will tag the docker image"
|
||||
}
|
||||
}
|
||||
stage('Push to DockerHub') {
|
||||
steps {
|
||||
|
||||
echo "now we will push to the docker file"
|
||||
}
|
||||
}
|
||||
stage('Change stages') {
|
||||
|
@ -38,12 +39,12 @@ pipeline {
|
|||
}
|
||||
stage('Create docker image') {
|
||||
steps {
|
||||
|
||||
echo "now we will create the docker image for the main branch"
|
||||
}
|
||||
}
|
||||
stage('Push docker image to main repository') {
|
||||
steps {
|
||||
|
||||
echo "now we will push the image to the docker main repository"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue