We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69a1cdc commit 9a6dd03Copy full SHA for 9a6dd03
.gitlab-ci.yml
@@ -0,0 +1,23 @@
1
+build-job:
2
+ stage: build
3
+ script:
4
+ - echo "Hello, $GITLAB_USER_LOGIN!"
5
+
6
+test-job1:
7
+ stage: test
8
9
+ - echo "This job tests something"
10
11
+test-job2:
12
13
14
+ - echo "This job tests something, but takes more time than test-job1."
15
+ - echo "After the echo commands complete, it runs the sleep command for 20 seconds"
16
+ - echo "which simulates a test that runs 20 seconds longer than test-job1"
17
+ - sleep 20
18
19
+deploy-prod:
20
+ stage: deploy
21
22
+ - echo "This job deploys something from the $CI_COMMIT_BRANCH branch."
23
+ environment: production
0 commit comments