forked from BLOCKFANTASY/LOOHP-Limbo
Update Jenkinsfile
This commit is contained in:
parent
0a63da78c5
commit
192cc02ec2
|
|
@ -1,18 +1,14 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
|
stage('Build'){
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
image 'maven:3-alpine'
|
image 'maven:3-alpine'
|
||||||
args '-v /root/.m2:/root/.m2'
|
args '-v /root/.m2:/root/.m2'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
options {
|
|
||||||
skipStagesAfterUnstable()
|
|
||||||
}
|
|
||||||
stages {
|
|
||||||
stage('Build') {
|
|
||||||
steps {
|
steps {
|
||||||
sh 'mvn clean install'
|
sh 'mvn clean install'
|
||||||
}
|
stash includes: 'target/*.jar', name: 'targetfiles'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue