Skip to content

Commit 09656f9

Browse files
committed
Add additional test stages to verify provider snapshots.
See #2630.
1 parent 0223b5c commit 09656f9

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

Jenkinsfile

+52
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,58 @@ pipeline {
4545
}
4646
}
4747

48+
stage("Test other configurations") {
49+
when {
50+
beforeAgent(true)
51+
allOf {
52+
// branch(pattern: "main|(\\d\\.\\d\\.x)", comparator: "REGEXP")
53+
not { triggeredBy 'UpstreamCause' }
54+
}
55+
}
56+
57+
parallel {
58+
stage("test: hibernate-next") {
59+
agent {
60+
label 'data'
61+
}
62+
options { timeout(time: 30, unit: 'MINUTES')}
63+
environment {
64+
DOCKER_HUB = credentials("${p['docker.credentials']}")
65+
ARTIFACTORY = credentials("${p['artifactory.credentials']}")
66+
}
67+
steps {
68+
script {
69+
docker.image(p['docker.java.main.image']).inside(p['docker.java.inside.docker']) {
70+
sh "docker login --username ${DOCKER_HUB_USR} --password ${DOCKER_HUB_PSW}"
71+
sh 'PROFILE=all-dbs,hibernate-next ci/test.sh'
72+
sh "ci/clean.sh"
73+
}
74+
}
75+
}
76+
}
77+
78+
stage("test: eclipselink-next") {
79+
agent {
80+
label 'data'
81+
}
82+
options { timeout(time: 30, unit: 'MINUTES')}
83+
environment {
84+
DOCKER_HUB = credentials("${p['docker.credentials']}")
85+
ARTIFACTORY = credentials("${p['artifactory.credentials']}")
86+
}
87+
steps {
88+
script {
89+
docker.image(p['docker.java.main.image']).inside(p['docker.java.inside.docker']) {
90+
sh "docker login --username ${DOCKER_HUB_USR} --password ${DOCKER_HUB_PSW}"
91+
sh 'PROFILE=all-dbs,eclipselink-next ci/test.sh'
92+
sh "ci/clean.sh"
93+
}
94+
}
95+
}
96+
}
97+
}
98+
}
99+
48100
stage('Release to artifactory') {
49101
when {
50102
beforeAgent(true)

0 commit comments

Comments
 (0)