Skip to content

Instantly share code, notes, and snippets.

@pedrovitorlima
Last active September 6, 2019 14:18
Show Gist options
  • Save pedrovitorlima/cc0bed29325250eccc3e3cdcc2b6c0bb to your computer and use it in GitHub Desktop.
Save pedrovitorlima/cc0bed29325250eccc3e3cdcc2b6c0bb to your computer and use it in GitHub Desktop.
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