diff --git a/basic-spring-boot/Jenkinsfile b/basic-spring-boot/Jenkinsfile index 97d0ef1e..8b711e26 100644 --- a/basic-spring-boot/Jenkinsfile +++ b/basic-spring-boot/Jenkinsfile @@ -128,6 +128,13 @@ pipeline { } } } + stage('Promotion gate') { + steps { + script { + input message: 'Promote application to Production?' + } + } + } stage('Promote from Stage to Prod') { steps { script { diff --git a/multi-cluster-spring-boot/Jenkinsfile b/multi-cluster-spring-boot/Jenkinsfile index f3a0e106..f7908f75 100644 --- a/multi-cluster-spring-boot/Jenkinsfile +++ b/multi-cluster-spring-boot/Jenkinsfile @@ -83,6 +83,14 @@ pipeline { } } + stage('Promotion gate') { + steps { + script { + input message: 'Promote application to Production?' + } + } + } + stage('Promote to Prod') { agent { kubernetes {