File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments