File tree 1 file changed +52
-0
lines changed
1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,58 @@ 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: 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
+
48
100
stage(' Release to artifactory' ) {
49
101
when {
50
102
beforeAgent(true )
You can’t perform that action at this time.
0 commit comments