Skip to content

Commit 289aae6

Browse files
Merge branch 'WDT-Support-for-1411' of github.com:oracle/weblogic-deploy-tooling into WDT-Support-for-1411
2 parents c31067c + ab964d8 commit 289aae6

File tree

3 files changed

+19
-9
lines changed

3 files changed

+19
-9
lines changed

Jenkinsfile

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,32 @@ pipeline {
2222
stage ('Build') {
2323
steps {
2424
sh '''
25-
mvn -B -DskipTests -Dunit-test-wlst-dir=${WLST_DIR} clean package
25+
mvn -B -DskipTests clean package
2626
'''
2727
}
2828
}
29-
stage ('Verify') {
29+
stage ('Test') {
3030
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'
3232
}
3333
post {
3434
always {
3535
junit 'core/target/surefire-reports/*.xml'
3636
}
3737
}
3838
}
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+
}
3952
}
4053
}

core/pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@
3131
<!-- Need to resolve Jython classes at compile time. At runtime, WLST will provide the classes. -->
3232
<dependency>
3333
<groupId>org.python</groupId>
34-
<artifactId>${jython.package}</artifactId>
35-
<version>${jython.version}</version>
34+
<artifactId>jython</artifactId>
3635
<scope>provided</scope>
3736
</dependency>
3837
<dependency>

pom.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@
4949
<sonar.exclusions>.flattened-pom.xml,target/**</sonar.exclusions>
5050
<sonar.test.exclusions>src/test/**</sonar.test.exclusions>
5151
<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>
5452
</properties>
5553

5654
<dependencyManagement>
@@ -62,8 +60,8 @@
6260
</dependency>
6361
<dependency>
6462
<groupId>org.python</groupId>
65-
<artifactId>${jython.package}</artifactId>
66-
<version>${jython.version}</version>
63+
<artifactId>jython</artifactId>
64+
<version>2.2.1</version>
6765
</dependency>
6866
<dependency>
6967
<groupId>junit</groupId>

0 commit comments

Comments
 (0)