We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86554cd commit 66fc3fbCopy full SHA for 66fc3fb
Jenkinsfile
@@ -0,0 +1,40 @@
1
+pipeline {
2
+ agent {
3
+ docker {
4
+ alwaysPull true
5
+ reuseNode true
6
+ image 'phx.ocir.io/weblogick8s/wdt/jenkinsslave:wls12213'
7
+ args '--user jenkins:oracle'
8
+ }
9
10
+
11
+ stages {
12
+ stage ('Environment') {
13
+ steps {
14
+ sh '''
15
+ echo "PATH = ${PATH}"
16
+ echo "JAVA_HOME = ${JAVA_HOME}"
17
+ echo "M2_HOME = ${M2_HOME}"
18
+ mvn --version
19
+ '''
20
21
22
+ stage ('Build') {
23
24
25
+ mvn -B -DskipTests -Dunit-test-wlst-dir=${WLST_DIR} clean package
26
27
28
29
+ stage ('Test') {
30
31
+ sh 'mvn -Dunit-test-wlst-dir=${WLST_DIR} test'
32
33
+ post {
34
+ always {
35
+ junit 'core/target/surefire-reports/*.xml'
36
37
38
39
40
+}
0 commit comments