mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 13:25:49 +00:00
Update Jenkinsfile
Signed-off-by: prankumargrid <prankumar@griddynamics.com>
This commit is contained in:
parent
9bc6c07062
commit
9344fdd0f8
1 changed files with 8 additions and 0 deletions
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
|
@ -11,6 +11,14 @@ pipeline {
|
|||
COMMIT = sh(script: 'git rev-parse --short HEAD', returnStdout: true).trim()
|
||||
}
|
||||
stages {
|
||||
stage('Install Docker') {
|
||||
steps {
|
||||
sh '''
|
||||
apt-get update
|
||||
apt-get install -y docker.io
|
||||
'''
|
||||
}
|
||||
}
|
||||
stage('Checkstyle') {
|
||||
when {
|
||||
not { branch 'main' }
|
||||
|
|
Loading…
Reference in a new issue