mirror of
https://github.com/LOOHP/Limbo.git
synced 2026-06-07 21:41:43 +00:00
Update Jenkinsfile
This commit is contained in:
Vendored
+13
-10
@@ -1,14 +1,17 @@
|
||||
pipeline {
|
||||
stage('Build'){
|
||||
agent {
|
||||
docker {
|
||||
image 'maven:3-alpine'
|
||||
args '-v /root/.m2:/root/.m2'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sh 'mvn clean install'
|
||||
stash includes: 'target/*.jar', name: 'targetfiles'
|
||||
agent none
|
||||
stages{
|
||||
stage('Build'){
|
||||
agent {
|
||||
docker {
|
||||
image 'maven:3-alpine'
|
||||
args '-v /root/.m2:/root/.m2'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sh 'mvn clean install'
|
||||
stash includes: 'target/*.jar', name: 'targetfiles'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user