Explorar el Código

更新 'Jenkinsfile'

通过maven构建项目
chl hace 2 años
padre
commit
fb45ce2802
Se han modificado 1 ficheros con 1 adiciones y 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做代码质量检测'){