add maven
This commit is contained in:
Vendored
+2
@@ -4,9 +4,11 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage('使用MAVNE构建') {
|
stage('使用MAVNE构建') {
|
||||||
steps {
|
steps {
|
||||||
|
withMaven(maven: 'Maven 3') {
|
||||||
sh 'mvn clean package -DskipTests'
|
sh 'mvn clean package -DskipTests'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('复制Jar包') {
|
stage('复制Jar包') {
|
||||||
steps {
|
steps {
|
||||||
|
|||||||
Reference in New Issue
Block a user