HHH-15448 Upgrade testing image for MSSQL Server to 2019-latest
This commit is contained in:
parent
83f34113ca
commit
dcf6730461
|
@ -161,7 +161,7 @@ stage('Build') {
|
|||
state[buildEnv.tag]['containerName'] = "db2"
|
||||
break;
|
||||
case "mssql":
|
||||
docker.image('mcr.microsoft.com/mssql/server:2017-CU13').pull()
|
||||
docker.image('mcr.microsoft.com/mssql/server@sha256:f54a84b8a802afdfa91a954e8ddfcec9973447ce8efec519adf593b54d49bedf').pull()
|
||||
sh "./docker_db.sh mssql"
|
||||
state[buildEnv.tag]['containerName'] = "mssql"
|
||||
break;
|
||||
|
|
|
@ -177,7 +177,8 @@ EOF
|
|||
|
||||
mssql() {
|
||||
$CONTAINER_CLI rm -f mssql || true
|
||||
$CONTAINER_CLI run --name mssql -d -p 1433:1433 -e "SA_PASSWORD=Hibernate_orm_test" -e ACCEPT_EULA=Y mcr.microsoft.com/mssql/server:2017-CU13
|
||||
#This sha256 matches a specific tag of mcr.microsoft.com/mssql/server:2019-latest :
|
||||
$CONTAINER_CLI run --name mssql -d -p 1433:1433 -e "SA_PASSWORD=Hibernate_orm_test" -e ACCEPT_EULA=Y mcr.microsoft.com/mssql/server@sha256:f54a84b8a802afdfa91a954e8ddfcec9973447ce8efec519adf593b54d49bedf
|
||||
sleep 5
|
||||
n=0
|
||||
until [ "$n" -ge 5 ]
|
||||
|
|
Loading…
Reference in New Issue