Skip to content

Commit

Permalink
Update Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuuta0217 authored Sep 22, 2019
1 parent a3c242a commit e277c0e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ node {
git 'https://github.com/ryuuta0217/JMusicBot-JP.git'
mvnHome = tool 'Maven 3.6.0'
}
stage('build') {
stage('Build') {
withEnv(["MVN_HOME=$mvnHome"]) {
if (isUnix()) {
sh '"$MVN_HOME/bin/mvn" -Dmaven.test.failure.ignore -Dfile.encoding=UTF-8 clean package'
Expand All @@ -13,8 +13,7 @@ node {
}
}
}
stage('result') {
junit '**/target/surefire-reports/TEST-*.xml'
stage('Result') {
archiveArtifacts 'target/*.jar'
}
}

0 comments on commit e277c0e

Please sign in to comment.