Created
November 6, 2016 00:13
-
-
Save detroitpro/fbe9bc9997e3d9a33ab752c0b8fbd6f6 to your computer and use it in GitHub Desktop.
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('Preparation') { | |
//git checkout goes here | |
} | |
stage('Build') { | |
try { | |
bat 'build Default BuildSolution' | |
} catch (e) { | |
throw e | |
} | |
} | |
stage('Unit') { | |
try { | |
bat 'build Default UnitTest' | |
} catch (e){ | |
throw e | |
} | |
} | |
stage('Database') { | |
try { | |
bat 'build Default BuildDatabaseMigrator DropDatabase MigrateDatabase Env=Develop' | |
} catch (e){ | |
throw e | |
} | |
} | |
stage('Integration') { | |
try { | |
bat 'build Default IntegrationTest Env=Develop' | |
} catch (e){ | |
throw e | |
} | |
} | |
stage('Deploy Develop') { | |
try { | |
bat 'build Default Deploy Env=Develop' | |
} catch (e){ | |
throw e | |
} | |
} | |
stage('Deploy Acceptance') { | |
try { | |
bat 'build Default AcceptanceTest Env=Develop' | |
} catch (e){ | |
throw e | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment