File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! groovy
2+
3+ pipeline {
4+
5+ agent {
6+ label ' general-purpose'
7+ }
8+ tools {
9+ jdk " zulu-17"
10+ maven " maven-3.6.3"
11+ }
12+ environment {
13+ JAVA_HOME = tool(" zulu-17" )
14+ MAVEN_OPTS = ' -Xmx2G -Djavax.net.ssl.trustStore=${JAVA_HOME}/jre/lib/security/cacerts'
15+ payaraBuildNumber = " ${ BUILD_NUMBER} "
16+ }
17+ stages {
18+
19+ stage(' Checkout Master' ) {
20+ steps {
21+ script {
22+ checkout changelog : false , poll : true , scm : [$class : ' GitSCM' ,
23+ branches : [[name : " master" ]],
24+ doGenerateSubmoduleConfigurations : false ,
25+ extensions : [],
26+ submoduleCfg : [],
27+ userRemoteConfigs : [[credentialsId : ' payara-devops-github-personal-access-token-as-username-password' , url :" https://github.com/payara/ecosystem-eclipse-plugin.git" ]]]
28+ }
29+ }
30+ }
31+ stage(' Build' ) {
32+ steps {
33+ script {
34+ echo ' *#*#*#*#*#*#*#*#*#*#*#*# Building SRC *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'
35+ sh """ mvn -B -V -ff -e clean install --strict-checksums \
36+ -Djavadoc.skip -Dsource.skip"""
37+ echo ' *#*#*#*#*#*#*#*#*#*#*#*# Built SRC *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'
38+ }
39+ }
40+ }
41+ }
42+ }
You can’t perform that action at this time.
0 commit comments