Created
January 6, 2018 02:26
-
-
Save garunski/09afad4d3881cb7e46580f6c7ad94ec2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| #!/usr/bin/groovy | |
| podTemplate( | |
| label: 'jenkins-pipeline', | |
| inheritFrom: 'default', | |
| containers: [ | |
| ] | |
| ) { | |
| node ('jenkins-pipeline') { | |
| stage('Get latest version of code') { | |
| checkout scm | |
| } | |
| stage('Code Formatting checks') { | |
| } | |
| stage('Build') { | |
| } | |
| stage('Run Unit Tests') { | |
| } | |
| stage('Run Code Coverage') { | |
| } | |
| stage('Deploy Local') { | |
| } | |
| stage('Run Integration Tests') { | |
| } | |
| stage('Deploy Production') { | |
| } | |
| stage('Run Post Deployment Tests') { | |
| } | |
| } // end node | |
| } // end podTemplate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment