Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DevOpsWS2024
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alina Schmidt
DevOpsWS2024
Commits
13b6440c
Commit
13b6440c
authored
4 months ago
by
Alina Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
Test example pipeline
parent
ce42cf58
No related branches found
No related tags found
No related merge requests found
Pipeline
#73155
passed
4 months ago
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+23
-0
23 additions, 0 deletions
.gitlab-ci.yml
with
23 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
23
−
0
View file @
13b6440c
build-job
:
stage
:
build
script
:
-
echo "Hello, $GITLAB_USER_LOGIN!"
test-job1
:
stage
:
test
script
:
-
echo "This job tests something"
test-job2
:
stage
:
test
script
:
-
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
script
:
-
echo "This job deploys something from the $CI_COMMIT_BRANCH branch."
environment
:
production
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment