Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lohse, Felix
lab-gitlab
Commits
4063afa7
Commit
4063afa7
authored
Nov 09, 2020
by
Lohse, Felix
Browse files
exercise 2
parent
aa4dd0f4
Pipeline
#21328
failed with stages
in 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
4063afa7
stages
:
stages
:
-
build
-
generate
-
test
-
consume
-
deploy
job1
:
job1
:
stage
:
build
stage
:
generate
script
:
script
:
-
echo "Hello I am job 1"
-
mkdir build
-
echo "Hello I am job 1" > build/job1-result.txt
job2
:
job2
:
stage
:
build
stage
:
generate
script
:
script
:
-
echo "Hello I am job 2"
-
mkdir build
-
echo "Hello I am job 2" > build/job2-result.txt
job3
:
job3
:
stage
:
test
stage
:
consume
script
:
-
echo "Hello I am job 3"
job4
:
stage
:
deploy
script
:
script
:
-
echo "Hello I am job 4"
-
cat build/*-result.txt
-
exit 1
\ No newline at end of file
Write
Preview
Supports
Markdown
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