diff --git a/Jenkinsfile b/Jenkinsfile index 93827bd..c357350 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,17 +1,8 @@ -env.mvnHome = '/usr/share/maven3' -node('mavenlabel') { - - - stage('Preparation') { // for display purposes - - git 'https://github.com/jglick/simple-maven-project-with-tests.git' - - - } + stage('Build') { - + // Run the maven build if (isUnix()) { - sh "'${mvnHome}/bin/mvn' clean install" + sh "'${mvnHome}/bin/mvn' -Dmaven.test.failure.ignore clean package" } else { bat(/"${mvnHome}\bin\mvn" -Dmaven.test.failure.ignore clean package/) } @@ -20,6 +11,4 @@ node('mavenlabel') { junit '**/target/surefire-reports/TEST-*.xml' archive 'target/*.jar' } - -} diff --git a/README.md b/README.md index b4b8c9d..3e22b7a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ + + +rking on rel1.0 +======= # springexample springexample jhbfjh