Last active
September 6, 2019 14:18
-
-
Save pedrovitorlima/cc0bed29325250eccc3e3cdcc2b6c0bb 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
pipeline { | |
agent any | |
stages { | |
stage('Cloning the repo') { | |
steps { | |
git url: 'https://github.com/pedrovitorlima/ci-course.git' | |
} | |
} | |
stage('Test build') { | |
steps { | |
sh './gradlew test' | |
} | |
} | |
stage('Gradle build') { | |
steps { | |
sh './gradlew clean assemble' | |
} | |
} | |
stage('Running application') { | |
steps { | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment