File tree 1 file changed +32
-0
lines changed
1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,38 @@ pipeline {
45
45
}
46
46
}
47
47
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
+
48
80
stage(' Release to artifactory' ) {
49
81
when {
50
82
beforeAgent(true )
You can’t perform that action at this time.
0 commit comments