-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathJenkinsfile
More file actions
29 lines (27 loc) · 802 Bytes
/
Jenkinsfile
File metadata and controls
29 lines (27 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!groovy
pipeline {
agent {
label 'general-purpose'
}
tools {
jdk "zulu-8"
maven "maven-3.6.3"
}
environment {
JAVA_HOME = tool("zulu-8")
MAVEN_OPTS = '-Xmx2G -Djavax.net.ssl.trustStore=${JAVA_HOME}/jre/lib/security/cacerts'
payaraBuildNumber = "${BUILD_NUMBER}"
}
stages {
stage('Build') {
steps {
script {
echo '*#*#*#*#*#*#*#*#*#*#*#*# Building SRC *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'
sh """mvn -B -V -ff -e clean install --strict-checksums \
-Djavadoc.skip -Dsource.skip"""
echo '*#*#*#*#*#*#*#*#*#*#*#*# Built SRC *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'
}
}
}
}
}