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
Pump, Cedric
lab-gitlab
Commits
d47b2273
Commit
d47b2273
authored
Nov 09, 2020
by
CedricPump
Browse files
Übung 2: Weiterreichen von Job Erzeugnissen (Artifacts)
- einleitung
parent
e64ccca9
Pipeline
#21354
failed with stages
in 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
d47b2273
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
:
script
:
-
echo "Hello I am job 3"
-
cat build/*-result.txt
-
exit
1
job4
:
stage
:
deploy
script
:
-
echo "Hello I am job 4"
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