提交 e1de8999 编写于 作者: zhangsiyuan's avatar zhangsiyuan

Update uat-cloud.jenkinsfile

上级 330ee85e
...@@ -12,9 +12,6 @@ pipeline { ...@@ -12,9 +12,6 @@ pipeline {
timeout(time: 1, unit: 'HOURS') timeout(time: 1, unit: 'HOURS')
} }
tools {
maven 'maven-3.5.2'
}
stages { stages {
stage("Git"){ stage("Git"){
...@@ -37,7 +34,8 @@ pipeline { ...@@ -37,7 +34,8 @@ pipeline {
stage("Build"){ stage("Build"){
steps{ steps{
timeout(time:5, unit:"MINUTES"){ timeout(time:5, unit:"MINUTES"){
sh "mvn clean -U install -Dmaven.test.skip=true" mavenHome = tool 'maven-3.5.2'
sh "${mavenHome}/bin/mvn clean -U install -Dmaven.test.skip=true"
} }
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册