Commit 6e9ee5db authored by Perwaiz Ali's avatar Perwaiz Ali

Update .gitlab-ci.yml

parent 3e8e1572
Pipeline #2173 passed with stages
in 58 seconds
build-job: build-job:
stage: build stage: build
tags:
- ci
script: script:
- ci "Hello, " - echo "Hello, "
test-job1: test-job1:
stage: test stage: test
tags:
- ci
script: script:
- ssh "This job tests something" - echo "This job tests something"
test-job2: test-job2:
stage: test stage: test
tags:
- ci
script: script:
- ssh "This job tests something, but takes more time than test-job1." - echo "This job tests something, but takes more time than test-job1."
- ssh "After the echo commands complete, it runs the sleep command for 20 seconds" - echo "After the echo commands complete, it runs the sleep command for 20 seconds"
- ssh "which simulates a test that runs 20 seconds longer than test-job1" - echo "which simulates a test that runs 20 seconds longer than test-job1"
- sleep 20 - sleep 20
deploy-prod: deploy-prod:
stage: deploy stage: deploy
tags:
- ci
script: script:
- ci "This job deploys something from the $CI_COMMIT_BRANCH branch." - echo "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