-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.gitlab-ci.yml
39 lines (35 loc) · 945 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
before_script:
- git config --global --add safe.directory "$CI_PROJECT_DIR"
image: docker-registry.linagora.com:5000/linshare-snapshots/linshare-build-helper:latest
stages:
- build
#check_author:
#image: docker-registry.linagora.com:5000/lgs-releases/gitlab-integrity-checks:latest
#stage: build
#variables:
#GIT_DEPTH: "1"
#tags:
#- docker
#script:
#- check_author.py check "$GITLAB_USER_EMAIL" "$GITLAB_USER_NAME" --no-accents
#except:
#refs:
#- master@linagora/lgs/linshare/products/linshare-ui-user
#- tags@linagora/lgs/linshare/products/linshare-ui-user
#- /^release-.*/@linagora/lgs/linshare/products/linshare-ui-user
#retry:
#max: 2
#when:
#- runner_system_failure
#- stuck_or_timeout_failure
build:
stage: build
tags:
- docker
script:
- mvn clean test
retry:
max: 2
when:
- runner_system_failure
- stuck_or_timeout_failure