mirror of https://github.com/LOOHP/Limbo.git
Update Jenkinsfile
This commit is contained in:
parent
192cc02ec2
commit
e94ed4389d
|
|
@ -1,14 +1,17 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
stage('Build'){
|
agent none
|
||||||
agent {
|
stages{
|
||||||
docker {
|
stage('Build'){
|
||||||
image 'maven:3-alpine'
|
agent {
|
||||||
args '-v /root/.m2:/root/.m2'
|
docker {
|
||||||
}
|
image 'maven:3-alpine'
|
||||||
}
|
args '-v /root/.m2:/root/.m2'
|
||||||
steps {
|
}
|
||||||
sh 'mvn clean install'
|
}
|
||||||
stash includes: 'target/*.jar', name: 'targetfiles'
|
steps {
|
||||||
|
sh 'mvn clean install'
|
||||||
|
stash includes: 'target/*.jar', name: 'targetfiles'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue