Skip to content
Snippets Groups Projects
Commit 5d7ebc57 authored by jez04's avatar jez04
Browse files

Update .gitlab-ci.yml file

parent 7f6898fe
No related merge requests found
Pipeline #163 failed with stages
in 3 seconds
......@@ -25,12 +25,14 @@ build-job: # This job runs in the build stage, which runs first.
stage: build
script:
- echo "Compiling the code..."
- mvn compile
- echo "Compile complete."
unit-test-job: # This job runs in the test stage.
stage: test # It only starts when the job in the build stage completes successfully.
script:
- echo "Running unit tests... This will take about 60 seconds."
- mvn test
- echo "Code coverage is 90%"
lint-test-job: # This job also runs in the test stage.
......@@ -44,4 +46,5 @@ deploy-job: # This job runs in the deploy stage.
environment: production
script:
- echo "Deploying application..."
- mvn deploy
- echo "Application successfully deployed."
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment