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
Mikael Salson
alecsia
Commits
0c98ced9
Commit
0c98ced9
authored
Jul 03, 2020
by
therealwa3er
Browse files
add retry job when job fail
parent
e8416cdc
Pipeline
#62
failed with stages
in 1 minute and 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
0c98ced9
...
...
@@ -19,6 +19,7 @@ stages:
-
test
build
:
stage
:
build
script
:
-
docker ps
# run docker compose
...
...
@@ -26,9 +27,18 @@ build:
test
:
stage
:
test
script
:
-
docker ps
#run container
-
docker-compose -f docker/docker-compose.yml up -d
#run Phpunit test
-
docker exec -i -w //var/www/html/alecsia/app docker_alecsia_1 ./../vendor/bin/phpunits
\ No newline at end of file
-
docker exec -i -w //var/www/html/alecsia/app docker_alecsia_1 ./../vendor/bin/phpunits
retry
:
max
:
2
when
:
-
unknown_failure
-
api_failure
-
stuck_or_timeout_failure
-
runner_system_failure
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