Commit 3e8e1572 authored by Perwaiz Ali's avatar Perwaiz Ali

Update .gitlab-ci.yml

parent 712ab144
Pipeline #2172 canceled with stages
build-job: build-job:
stage: build stage: build
script: script:
- echo "Hello, " - ci "Hello, "
test-job1: test-job1:
stage: test stage: test
script: script:
- echo "This job tests something" - ssh "This job tests something"
test-job2: test-job2:
stage: test stage: test
script: script:
- echo "This job tests something, but takes more time than test-job1." - ssh "This job tests something, but takes more time than test-job1."
- echo "After the echo commands complete, it runs the sleep command for 20 seconds" - ssh "After the echo commands complete, it runs the sleep command for 20 seconds"
- echo "which simulates a test that runs 20 seconds longer than test-job1" - ssh "which simulates a test that runs 20 seconds longer than test-job1"
- sleep 20 - sleep 20
deploy-prod: deploy-prod:
stage: deploy stage: deploy
script: script:
- echo "This job deploys something from the $CI_COMMIT_BRANCH branch." - ci "This job deploys something from the $CI_COMMIT_BRANCH branch."
\ No newline at end of file \ No newline at end of file
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