Update .gitlab-ci.yml file

This commit is contained in:
Sumedh
2024-08-14 17:03:02 +00:00
parent 0f343e2410
commit 3689b2227a

View File

@@ -8,7 +8,7 @@ build-job:
stage: maven_build stage: maven_build
image: maven:3.9.8-amazoncorretto-21-al2023 image: maven:3.9.8-amazoncorretto-21-al2023
script: script:
- sleep(10000) - sleep 10000
- curl -v https://repo.spring.io/snapshot - curl -v https://repo.spring.io/snapshot
- echo "Building the project..." - echo "Building the project..."
- mvn clean install -DskipTests - mvn clean install -DskipTests
@@ -46,7 +46,7 @@ docker_build-job: # This job runs in the test stage.
- if: $CI_COMMIT_BRANCH - if: $CI_COMMIT_BRANCH
exists: exists:
- Dockerfile - Dockerfile
when: manual #when: manual
tags: tags:
- OLYMPUS - OLYMPUS