1
0
mirror of https://github.com/LOOHP/Limbo.git synced 2026-06-07 21:41:43 +00:00

Update Jenkinsfile

This commit is contained in:
LOOHP
2020-08-09 00:50:59 +08:00
committed by GitHub
parent 0a63da78c5
commit 192cc02ec2
Vendored
+7 -11
View File
@@ -1,18 +1,14 @@
pipeline { pipeline {
agent { stage('Build'){
docker { agent {
docker {
image 'maven:3-alpine' image 'maven:3-alpine'
args '-v /root/.m2:/root/.m2' args '-v /root/.m2:/root/.m2'
}
} }
} steps {
options { sh 'mvn clean install'
skipStagesAfterUnstable() stash includes: 'target/*.jar', name: 'targetfiles'
}
stages {
stage('Build') {
steps {
sh 'mvn clean install'
}
} }
} }
} }