File tree Expand file tree Collapse file tree 3 files changed +19
-9
lines changed Expand file tree Collapse file tree 3 files changed +19
-9
lines changed Original file line number Diff line number Diff line change @@ -22,19 +22,32 @@ pipeline {
22
22
stage (' Build' ) {
23
23
steps {
24
24
sh '''
25
- mvn -B -DskipTests -Dunit-test-wlst-dir=${WLST_DIR} clean package
25
+ mvn -B -DskipTests clean package
26
26
'''
27
27
}
28
28
}
29
- stage (' Verify ' ) {
29
+ stage (' Test ' ) {
30
30
steps {
31
- sh ' mvn -Dunit-test-wlst-dir=${WLST_DIR} -Dmw_home=${ORACLE_HOME} verify '
31
+ sh ' mvn -Dunit-test-wlst-dir=${WLST_DIR} test '
32
32
}
33
33
post {
34
34
always {
35
35
junit ' core/target/surefire-reports/*.xml'
36
36
}
37
37
}
38
38
}
39
+ stage (' Verify' ) {
40
+ when {
41
+ changeRequest()
42
+ }
43
+ steps {
44
+ sh ' mvn -P system-test -Dmw_home=${ORACLE_HOME} test-compile failsafe:integration-test'
45
+ }
46
+ post {
47
+ always {
48
+ junit ' system-test/target/failsafe-reports/*.xml'
49
+ }
50
+ }
51
+ }
39
52
}
40
53
}
Original file line number Diff line number Diff line change 31
31
<!-- Need to resolve Jython classes at compile time. At runtime, WLST will provide the classes. -->
32
32
<dependency >
33
33
<groupId >org.python</groupId >
34
- <artifactId >${jython.package}</artifactId >
35
- <version >${jython.version} </version >
34
+ <artifactId >jython</artifactId >
36
35
<scope >provided</scope >
37
36
</dependency >
38
37
<dependency >
Original file line number Diff line number Diff line change 49
49
<sonar .exclusions>.flattened-pom.xml,target/**</sonar .exclusions>
50
50
<sonar .test.exclusions>src/test/**</sonar .test.exclusions>
51
51
<unit-test-wlst-dir >${env.WLST_DIR} </unit-test-wlst-dir >
52
- <jython .package>jython</jython .package>
53
- <jython .version>2.2.1</jython .version>
54
52
</properties >
55
53
56
54
<dependencyManagement >
62
60
</dependency >
63
61
<dependency >
64
62
<groupId >org.python</groupId >
65
- <artifactId >${ jython.package} </artifactId >
66
- <version >${jython.version} </version >
63
+ <artifactId >jython</artifactId >
64
+ <version >2.2.1 </version >
67
65
</dependency >
68
66
<dependency >
69
67
<groupId >junit</groupId >
You can’t perform that action at this time.
0 commit comments