1
0
mirror of https://github.com/LOOHP/Limbo.git synced 2026-06-07 21:41:43 +00:00

Update Jenkinsfile

This commit is contained in:
LOOHP
2020-08-09 00:42:35 +08:00
committed by GitHub
parent f600b20903
commit 9754816a83
Vendored
+8 -13
View File
@@ -1,19 +1,14 @@
pipeline { pipeline {
agent any agent {
tools { docker {
maven 'Maven 3.3.9' image 'maven:3-alpine'
jdk 'jdk8' args '-v /root/.m2:/root/.m2'
}
}
options {
skipStagesAfterUnstable()
} }
stages { stages {
stage ('Initialize') {
steps {
sh '''
echo "PATH = ${PATH}"
echo "M2_HOME = ${M2_HOME}"
'''
}
}
stage('Build') { stage('Build') {
steps { steps {
sh 'mvn clean install' sh 'mvn clean install'