Commit 998042f3 authored by 郭灿峰's avatar 郭灿峰

Update Jenkinsfile

parent 611cee8a
......@@ -2,14 +2,14 @@ pipeline {
agent {
docker {
image 'maven:3-alpine'
args '-v /root/.m2:/root/.m2'
args '-v /root/.m2:/root/.m2'
args '-v /var/run/docker.sock:/var/run/docker.sock'
}
stages {
stage('Build') {
steps {
sh 'mvn clean package'
sh 'mvn install'
}
}
stage('deploy') {
......
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