-
-
Save lordofthejars/be8c2384db1ce5207f0336e690e3367c 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('Checkout') { | |
checkout scm | |
} | |
def gradle = load 'jenkins/gradle.groovy' | |
stage ('Build') { | |
gradle.cleanAndCompile() | |
} | |
stage ('Integration Tests') { | |
gradle.test() | |
junit '**/build/test-results/*.xml' | |
} | |
stage ('Create Artifacts') { | |
gradle.assembleApplication() | |
docker.build("app/wildflyexample:${env.BUILD_NUMBER}") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment