Commit f50813d4 authored by Perwaiz Ali's avatar Perwaiz Ali

change in .git-yml

parent 3c151242
Pipeline #2203 canceled with stages
in 8 minutes and 4 seconds
...@@ -12,7 +12,16 @@ maven-build: ...@@ -12,7 +12,16 @@ maven-build:
artifacts: artifacts:
paths: paths:
- target/CICDTesting-0.0.1-SNAPSHOT.jar - target/CICDTesting-0.0.1-SNAPSHOT.jar
Smoke test :
tags:
- docker
stage: test
image: maven:3-jdk-11
script:
- java -jar ./target/CICDTesting-0.0.1-SNAPSHOT.jar
- sleep 30
- curl http://localhost:8080/actuator/health | grep "UP"
deploy: deploy:
......
Markdown is supported
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