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
+8
-13
@@ -1,19 +1,14 @@
|
||||
pipeline {
|
||||
agent any
|
||||
tools {
|
||||
maven 'Maven 3.3.9'
|
||||
jdk 'jdk8'
|
||||
agent {
|
||||
docker {
|
||||
image 'maven:3-alpine'
|
||||
args '-v /root/.m2:/root/.m2'
|
||||
}
|
||||
}
|
||||
options {
|
||||
skipStagesAfterUnstable()
|
||||
}
|
||||
stages {
|
||||
stage ('Initialize') {
|
||||
steps {
|
||||
sh '''
|
||||
echo "PATH = ${PATH}"
|
||||
echo "M2_HOME = ${M2_HOME}"
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'mvn clean install'
|
||||
|
||||
Reference in New Issue
Block a user