@@ -50,9 +50,7 @@ pipeline {
50
50
stage('Build') {
51
51
steps {
52
52
script {
53
- docker.withRegistry('https://index.docker.io/v1/', 'hibernateci.hub.docker.com') {
54
- docker.image('openjdk:17-jdk').pull()
55
- }
53
+ docker.image('openjdk:17-jdk').pull()
56
54
}
57
55
dir('hibernate') {
58
56
checkout scm
@@ -72,35 +70,27 @@ pipeline {
72
70
).trim()
73
71
switch (params.RDBMS) {
74
72
case "mysql":
75
- docker.withRegistry('https://index.docker.io/v1/', 'hibernateci.hub.docker.com') {
76
- docker.image('mysql:8.2.0').pull()
77
- }
73
+ docker.image('mysql:8.2.0').pull()
78
74
sh "./docker_db.sh mysql"
79
75
break;
80
76
case "mssql":
81
77
docker.image('mcr.microsoft.com/mssql/server@sha256:5439be9edc3b514cf647bcd3651779fa13f487735a985f40cbdcfecc60fea273').pull()
82
78
sh "./docker_db.sh mssql"
83
79
break;
84
80
case "oracle":
85
- docker.withRegistry('https://index.docker.io/v1/', 'hibernateci.hub.docker.com') {
86
- docker.image('gvenzl/oracle-free:23').pull()
87
- }
81
+ docker.image('gvenzl/oracle-free:23').pull()
88
82
sh "./docker_db.sh oracle"
89
83
break;
90
84
case "postgresql":
91
- docker.withRegistry('https://index.docker.io/v1/', 'hibernateci.hub.docker.com') {
92
- docker.image('postgis/postgis:16-3.4').pull()
93
- }
85
+ docker.image('postgis/postgis:16-3.4').pull()
94
86
sh "./docker_db.sh postgresql"
95
87
break;
96
88
case "db2":
97
89
docker.image('icr.io/db2_community/db2:11.5.9.0').pull()
98
90
sh "./docker_db.sh db2"
99
91
break;
100
92
case "sybase":
101
- docker.withRegistry('https://index.docker.io/v1/', 'hibernateci.hub.docker.com') {
102
- docker.image('nguoianphu/docker-sybase').pull()
103
- }
93
+ docker.image('nguoianphu/docker-sybase').pull()
104
94
sh "./docker_db.sh sybase"
105
95
break;
106
96
}
@@ -197,4 +187,4 @@ pipeline {
197
187
198
188
}
199
189
}
200
- }
190
+ }
0 commit comments