Update .gitlab-ci.yml file

This commit is contained in:
Sumedh
2024-08-14 17:43:39 +00:00
parent 3689b2227a
commit ba03157551

View File

@@ -4,11 +4,15 @@ stages: # List of stages for jobs, and their order of execution
- maven_build
- docker_build
variables:
MAVEN_OPTS: "-Dhttps.protocols=TLSv1.2 -Dmaven.repo.local=/root/.m2 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true"
build-job:
stage: maven_build
image: maven:3.9.8-amazoncorretto-21-al2023
script:
- sleep 10000
- cat /root/.m2/settings.xml
- mvn help:effective-settings
- curl -v https://repo.spring.io/snapshot
- echo "Building the project..."
- mvn clean install -DskipTests