Commit 3e3d0118 authored by 郭灿峰's avatar 郭灿峰

Update Jenkinsfile

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