My purpose is to check if website is Build and start succesfully , i try to with curl , what is best way? i mean if curl response is 200 ok , else breal pipelines and failed . how do this ?
stages:
- build
- deploy
- test
build:
stage: build
script:
- echo Build Stage 1
tags:
- java-run
deploy:
stage: deploy
tags:
- java-run
script:
some code
test:
stage: test
tags:
- java-run
script:
some code to check if website start