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

fff

parent fd1e5a4a
......@@ -71,8 +71,13 @@ def call(body) {
_utils.beautyEcho("Build", "stage")
switch (config.buildType) {
case "java":
sh '/usr/local/maven/bin/mvn clean package -P test -D maven.test.skip=true'
withMaven(
maven: 'M3',
mavenSettingsConfig: 'my-maven-settings',
mavenLocalRepo: '.repository'){
sh 'mvn clean package -P test -D maven.test.skip=true'
}
break
case "nodejs":
_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