Explorar o código

更新 'Jenkinsfile'

通过maven构建项目
chl %!s(int64=2) %!d(string=hai) anos
pai
achega
fb45ce2802
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -16,7 +16,7 @@ pipeline{
   }
   stage('通过maven构建项目'){
    steps{
-    echo '通过maven构建项目 - SUCCESS'
+    sh '/var/jenkins_home/maven/bin/mvn clean package -DskipTests'
    }
   }
   stage('通过SonarQube做代码质量检测'){