Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Georgii Aksenov
2021-pb162-seminar-project
Commits
151c240b
Commit
151c240b
authored
Feb 17, 2021
by
Radek Ošlejšek
Browse files
Improve CI/CD testing - omit testing of assignment braches
(cherry picked from commit
1274f2ed
)
parent
78866a09
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
151c240b
...
...
@@ -5,3 +5,28 @@ build:
-
mvn clean install -B -Dcheckstyle.fail=true
tags
:
-
shared-fi
rules
:
# do not test assignments
-
if
:
'
$CI_COMMIT_BRANCH
==
"iteration-01"'
when
:
never
-
if
:
'
$CI_COMMIT_BRANCH
==
"iteration-02"'
when
:
never
-
if
:
'
$CI_COMMIT_BRANCH
==
"iteration-03"'
when
:
never
-
if
:
'
$CI_COMMIT_BRANCH
==
"iteration-04"'
when
:
never
-
if
:
'
$CI_COMMIT_BRANCH
==
"iteration-05"'
when
:
never
-
if
:
'
$CI_COMMIT_BRANCH
==
"iteration-06"'
when
:
never
-
if
:
'
$CI_COMMIT_BRANCH
==
"iteration-07"'
when
:
never
-
if
:
'
$CI_COMMIT_BRANCH
==
"iteration-08"'
when
:
never
-
if
:
'
$CI_COMMIT_BRANCH
==
"iteration-09"'
when
:
never
-
if
:
'
$CI_COMMIT_BRANCH
==
"iteration-10"'
when
:
never
# test everything else
-
when
:
always
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