Browse Source

yinruoxi:

1.上传Jenkinsfile配置文件
tags/v0.8.0a
kira 2 years ago
parent
commit
716186125f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Jenkinsfile

+ 1
- 1
Jenkinsfile View File

@@ -19,7 +19,7 @@ node {
sh 'mvn clean package sonar:sonar'
} else {
echo "打包子目录并进行代码检查 ${project_name}"
withEnv(["PATH+MAVEN=${tool 'M3'}/bin"]) {
withEnv(["PATH+MAVEN=${mavenPath}/bin"]) {
sh "mvn clean install"
sh "mvn -f ${project_name} clean package -e -U -Dmaven.test.skip=true sonar:sonar"
}


Loading…
Cancel
Save