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