-
Notifications
You must be signed in to change notification settings - Fork 6
/
Jenkinsfile
32 lines (30 loc) · 913 Bytes
/
Jenkinsfile
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
31
32
pipeline {
agent {
label 'general-purpose'
}
tools {
jdk "zulu-11"
}
environment {
JAVA_HOME = tool("zulu-11")
GRADLE_HOME = "/usr/lib/gradle/jenkinstools/gradle-8.0"
PATH = "${GRADLE_HOME}/bin:${env.PATH}"
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 '''
ls -lrt
cd payara-micro-gradle-plugin
gradle clean build
'''
echo '*#*#*#*#*#*#*#*#*#*#*#*# Built SRC *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'
}
}
}
}
}