forked from BLOCKFANTASY/LOOHP-Limbo
Update Jenkinsfile
This commit is contained in:
Vendored
+13
-10
@@ -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'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user