symfonyAppPipeline: fix hook stages
This commit is contained in:
@ -6,11 +6,7 @@ def call(String baseImage = 'ubuntu:22.04') {
|
||||
checkout(scm)
|
||||
}
|
||||
stage('Run pre hooks') {
|
||||
steps {
|
||||
script {
|
||||
hook('pre-symfony-app')
|
||||
}
|
||||
}
|
||||
hook('pre-symfony-app')
|
||||
}
|
||||
stage('Run in Symfony image') {
|
||||
def symfonyImage = buildDockerImage(baseImage)
|
||||
@ -91,11 +87,7 @@ def call(String baseImage = 'ubuntu:22.04') {
|
||||
}
|
||||
}
|
||||
stage('Run post hooks') {
|
||||
steps {
|
||||
script {
|
||||
hook('post-symfony-app')
|
||||
}
|
||||
}
|
||||
hook('post-symfony-app')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user