Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CICDTest
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Perwaiz Ali
CICDTest
Commits
6e9ee5db
Commit
6e9ee5db
authored
Aug 25, 2022
by
Perwaiz Ali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
3e8e1572
Pipeline
#2173
passed with stages
in 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
.gitlab-ci.yml
.gitlab-ci.yml
+14
-6
No files found.
.gitlab-ci.yml
View file @
6e9ee5db
build-job
:
stage
:
build
tags
:
-
ci
script
:
-
ci
"Hello, "
-
echo
"Hello, "
test-job1
:
stage
:
test
tags
:
-
ci
script
:
-
ssh
"This job tests something"
-
echo
"This job tests something"
test-job2
:
stage
:
test
tags
:
-
ci
script
:
-
ssh
"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"
-
ssh
"which simulates a test that runs 20 seconds longer than test-job1"
-
echo
"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"
-
echo
"which simulates a test that runs 20 seconds longer than test-job1"
-
sleep 20
deploy-prod
:
stage
:
deploy
tags
:
-
ci
script
:
-
ci "This job deploys something from the $CI_COMMIT_BRANCH branch."
\ No newline at end of file
-
echo "This job deploys something from the $CI_COMMIT_BRANCH branch."
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment