Skip to content

Commit 1294845

Browse files
committed
Re-include the temporary jakarta testing modules
1 parent 72f4a2f commit 1294845

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

ci/jpa-2.2-tck.Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pipeline {
3838
stage('Run TCK') {
3939
steps {
4040
sh """ \
41-
docker rm -f tck
41+
docker rm -f tck || true
4242
docker run -v ~/.m2/repository/org/hibernate:/root/.m2/repository/org/hibernate:z -e NO_SLEEP=true -e HIBERNATE_VERSION=$HIBERNATE_VERSION --name tck jakarta-tck-runner
4343
docker cp tck:/tck/persistence-tck/tmp/JTreport/ ./JTreport
4444
"""
@@ -47,8 +47,8 @@ pipeline {
4747
failures = sh (
4848
script: """ \
4949
while read line; do
50-
if [[ "$line" != "*Passed." ]]; then
51-
echo "$line"
50+
if [[ "\$line" != *"Passed." ]]; then
51+
echo "\$line"
5252
fi
5353
done <JTreport/text/summary.txt
5454
""",

ci/jpa-3.0-tck.Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pipeline {
3838
stage('Run TCK') {
3939
steps {
4040
sh """ \
41-
docker rm -f tck
41+
docker rm -f tck || true
4242
docker run -v ~/.m2/repository/org/hibernate:/root/.m2/repository/org/hibernate:z -e NO_SLEEP=true -e HIBERNATE_VERSION=$HIBERNATE_VERSION --name tck jakarta-tck-runner
4343
docker cp tck:/tck/persistence-tck/tmp/JTreport/ ./JTreport
4444
"""
@@ -47,8 +47,8 @@ pipeline {
4747
failures = sh (
4848
script: """ \
4949
while read line; do
50-
if [[ "$line" != "*Passed." ]]; then
51-
echo "$line"
50+
if [[ "\$line" != *"Passed." ]]; then
51+
echo "\$line"
5252
fi
5353
done <JTreport/text/summary.txt
5454
""",

settings.gradle

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,10 @@ include 'hibernate-core'
9090
include 'hibernate-core-jakarta'
9191
include 'hibernate-entitymanager'
9292
include 'hibernate-testing'
93-
// todo: enable again when we can finally use the Jakarta JARs from narayana
94-
//include 'hibernate-testing-jakarta'
95-
// todo (jakarta): remove these three when the jakarta artifacts are released
96-
//include 'hibernate-jboss-jta'
97-
//include 'hibernate-transaction-client'
93+
include 'hibernate-testing-jakarta'
94+
// todo (jakarta): remove these two when the jakarta artifacts are released
95+
include 'hibernate-jboss-jta'
96+
include 'hibernate-transaction-client'
9897

9998
include 'hibernate-envers'
10099
include 'hibernate-envers-jakarta'

0 commit comments

Comments
 (0)