diff --git a/ci-templates/jvm-build-steps.yaml b/ci-templates/jvm-build-steps.yaml
index c351ee70f..ec97c895a 100644
--- a/ci-templates/jvm-build-steps.yaml
+++ b/ci-templates/jvm-build-steps.yaml
@@ -29,11 +29,14 @@ steps:
- script: docker run --rm --publish 8180:8080 --name build-keycloak -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin -e JAVA_OPTS="-server -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dkeycloak.profile.feature.upload_scripts=enabled" -d quay.io/keycloak/keycloak:8.0.1
displayName: 'start keycloak'
+- script: docker run --rm --publish 1433:1433 --name build-mssql -e ACCEPT_EULA=Y -e SA_PASSWORD=ActuallyRequired11Complexity -d microsoft/mssql-server-linux:2017-CU12
+ displayName: 'start microsoft sql server'
+
- task: Maven@3
displayName: 'Maven Build'
inputs:
goals: 'install'
mavenOptions: $(MAVEN_OPTS)
jdkVersionOption: ${{ parameters.jdk }}
- options: '-e -B --settings azure-mvn-settings.xml -Dnative-image.docker-build -Dtest-postgresql -Dtest-elasticsearch -Dtest-mysql -Dtest-dynamodb -Dtest-vault -Dtest-neo4j -Dtest-keycloak -Dno-format ${{ parameters.extra }}'
+ options: '-e -B --settings azure-mvn-settings.xml -Dnative-image.docker-build -Dtest-postgresql -Dtest-elasticsearch -Dtest-mysql -Dtest-dynamodb -Dtest-vault -Dtest-neo4j -Dtest-keycloak -Dtest-mssql -Dno-format ${{ parameters.extra }}'
diff --git a/ci-templates/native-build-steps.yaml b/ci-templates/native-build-steps.yaml
index b4b3a8efb..5ca6a8576 100644
--- a/ci-templates/native-build-steps.yaml
+++ b/ci-templates/native-build-steps.yaml
@@ -48,10 +48,13 @@ jobs:
sudo service mysql stop || true
docker run --rm --publish 3306:3306 --name build-mysql -e MYSQL_USER=hibernate_orm_test -e MYSQL_PASSWORD=hibernate_orm_test -e MYSQL_DATABASE=hibernate_orm_test -e MYSQL_RANDOM_ROOT_PASSWORD=true -e MYSQL_DATABASE=hibernate_orm_test -d mysql:5 --skip-ssl
displayName: 'start mysql'
+ - ${{ if eq(parameters.mssql, 'true') }}:
+ - script: docker run --rm --publish 1433:1433 --name build-mssql -e ACCEPT_EULA=Y -e SA_PASSWORD=ActuallyRequired11Complexity -d microsoft/mssql-server-linux:2017-CU12
+ displayName: 'start microsoft sql server'
- task: Maven@3
displayName: 'Maven Build'
inputs:
goals: 'install'
mavenOptions: $(MAVEN_OPTS)
- options: '-pl integration-tests/${{ join('',integration-tests/'', parameters.modules) }} -B --settings azure-mvn-settings.xml -Dquarkus.native.container-build=true -Dtest-postgresql -Dtest-elasticsearch -Dtest-keycloak -Ddocker-keycloak -Dtest-dynamodb -Dtest-mysql -Dtest-vault -Dtest-neo4j -Dnative-image.xmx=6g -Dnative -Dno-format'
+ options: '-pl integration-tests/${{ join('',integration-tests/'', parameters.modules) }} -B --settings azure-mvn-settings.xml -Dquarkus.native.container-build=true -Dtest-postgresql -Dtest-elasticsearch -Dtest-keycloak -Ddocker-keycloak -Dtest-dynamodb -Dtest-mysql -Dtest-vault -Dtest-neo4j -Dtest-mssql -Dnative-image.xmx=6g -Dnative -Dno-format'
diff --git a/ci-templates/stages.yml b/ci-templates/stages.yml
index bbd1b4a90..7399aebe1 100644
--- a/ci-templates/stages.yml
+++ b/ci-templates/stages.yml
@@ -211,6 +211,7 @@ stages:
- jpa-derby
- jpa-without-entity
name: data_1
+ mssql: true
- template: native-build-steps.yaml
parameters:
diff --git a/integration-tests/jpa-mssql/pom.xml b/integration-tests/jpa-mssql/pom.xml
index 869f26622..12ffa3ef4 100644
--- a/integration-tests/jpa-mssql/pom.xml
+++ b/integration-tests/jpa-mssql/pom.xml
@@ -15,8 +15,8 @@
Module that contains JPA related tests running with the MSSQL database
- SomeJDBCUrl
- SomeJDBCPassword
+ jdbc:sqlserver://localhost:1433;databaseName=tempdb
+ ActuallyRequired11Complexity