Created
September 18, 2017 20:35
-
-
Save david-bc/f39f9f578ccf0a6873ebde66876f3eb3 to your computer and use it in GitHub Desktop.
Deployment Pipelines - Manual Steps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node { | |
stage('Build & Unit Test') { | |
gradle.run 'clean build' | |
} | |
stage('Code Quality') { | |
withSonarQubeEnv('SonarQube') { | |
gradle.run 'sonarqube --info' | |
} | |
} | |
stage('Docker Image Push') { | |
gradle.run 'dockerPushForIntegration' | |
} | |
stage('Marathon Restart & Health Check') { | |
gradle.run 'marathonRestart marathonHealthCheck -Denvironment=testing' | |
} | |
stage('Automate Acceptance Test Gate') { | |
gradle.run "acceptanceTest -Denvironment=testing -Dsuite=${suiteName}" | |
} | |
stage('Manual Testing Gate') { | |
timeout(time: 2, unit: 'DAYS') { | |
input 'Push image to Staging?' | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment