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

Update Jenkinsfile

parent 611cee8a
...@@ -3,13 +3,13 @@ pipeline { ...@@ -3,13 +3,13 @@ pipeline {
docker { docker {
image 'maven:3-alpine' 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 { stages {
stage('Build') { stage('Build') {
steps { steps {
sh 'mvn clean package' sh 'mvn clean package'
sh 'mvn install'
} }
} }
stage('deploy') { 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