Skip to content

Commit 91ba4e2

Browse files
committed
Add additional stages to verify provider snapshots.
See #2630.
1 parent d5043b1 commit 91ba4e2

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

Jenkinsfile

+32
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,38 @@ 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: eclipselink-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,eclipselink-next ci/test.sh'
72+
sh "ci/clean.sh"
73+
}
74+
}
75+
}
76+
}
77+
}
78+
}
79+
4880
stage('Release to artifactory') {
4981
when {
5082
beforeAgent(true)

0 commit comments

Comments
 (0)