1
0
mirror of https://github.com/LOOHP/Limbo.git synced 2026-06-07 13:31: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
+9 -14
View File
@@ -1,20 +1,15 @@
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') {
stage('Build') {
steps {
sh 'mvn clean install'
}