Commit 540a43c2 authored by wentao.suo's avatar wentao.suo

fff

parent fd1e5a4a
...@@ -71,8 +71,13 @@ def call(body) { ...@@ -71,8 +71,13 @@ def call(body) {
_utils.beautyEcho("Build", "stage") _utils.beautyEcho("Build", "stage")
switch (config.buildType) { switch (config.buildType) {
case "java": case "java":
withMaven(
sh '/usr/local/maven/bin/mvn clean package -P test -D maven.test.skip=true' maven: 'M3',
mavenSettingsConfig: 'my-maven-settings',
mavenLocalRepo: '.repository'){
sh 'mvn clean package -P test -D maven.test.skip=true'
}
break break
case "nodejs": case "nodejs":
_stage.build_nodejs(namespace, originSystemName, contextDir) _stage.build_nodejs(namespace, originSystemName, contextDir)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment