Skip to content

Commit

Permalink
Updated jenkinsfile to the newest version
Browse files Browse the repository at this point in the history
  • Loading branch information
sofusalbertsen authored Aug 3, 2017
1 parent b2d9497 commit 879345f
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
node {
stage('Preparation') { // for display purposes
// Get some code from a GitHub repository
git credentialsId: '520d2a48-92fa-484d-92db-962576ad1ce7', url: '[email protected]:praqma-training/gildedrose.git'
// Get the Maven tool.
// ** NOTE: This 'M3' Maven tool must be configured
// ** in the global configuration.

}
stage('Build') {
// Run the maven build
if (isUnix()) {
sh "mvn -Dmaven.test.failure.ignore clean package"
}
}
stage('Results') {
junit '**/target/surefire-reports/TEST-*.xml'
archive 'target/*.jar'
}
echo 'Hello World'
}

0 comments on commit 879345f

Please sign in to comment.