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