-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathJenkinsfile
More file actions
30 lines (27 loc) · 805 Bytes
/
Jenkinsfile
File metadata and controls
30 lines (27 loc) · 805 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
30
#!groovy
pipeline {
agent {
label 'general-purpose'
}
tools {
jdk "zulu-21"
maven "maven-3.6.3"
}
environment {
JAVA_HOME = tool("zulu-21")
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 *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'
}
}
}
}
}