Skip to content
GitLab
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
ad7c70b7
Commit
ad7c70b7
authored
Jun 26, 2020
by
Nane Kratzke
Browse files
Aktualisieren .gitlab-ci.yml
parent
49af2bbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
ad7c70b7
stages
:
-
build
-
test
-
deploy
-
build
-
test
-
deploy
buildjob1
:
stage
:
build
image
:
openjdk:14-jdk
script
:
-
mkdir builds
-
javac -d builds src/English.java
artifacts
:
paths
:
-
builds/
job1
:
stage
:
build
script
:
-
echo "Hello I am job 1"
buildjob2
:
stage
:
build
image
:
openjdk:14-jdk
script
:
-
mkdir builds
-
javac -d builds src/German.java
artifacts
:
paths
:
-
builds/
job2
:
stage
:
build
script
:
-
"
echo
"Hello I am job 2"
buildjob3
:
stage
:
build
image
:
openjdk:14-jdk
script
:
-
mkdir builds
-
javac -d builds src/Spanish.java
artifacts
:
paths
:
-
builds/
job3
:
stage
:
test
script
:
-
"
echo
"Hello I am job 3"
testjob1
:
stage
:
test
image
:
openjdk:14-jdk
script
:
-
echo "This is test job 1"
-
cd builds
-
java English | grep "Hello world"
-
java German | grep "Hallo Welt"
-
java Spanish | grep "Ola mundo"
job4
:
stage
:
test
script
:
-
"
echo
"Hello I am job 4"
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment