forked from yahoo/elide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscrewdriver.yaml
49 lines (42 loc) · 1.06 KB
/
screwdriver.yaml
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
40
41
42
43
44
45
46
47
48
cache:
pipeline: ["~/.m2"]
annotations:
screwdriver.cd/restrictPR: fork
shared:
annotations:
screwdriver.cd/cpu: TURBO
screwdriver.cd/ram: TURBO
image: maven:3.6.3-jdk-8
environment:
#Fetches history so Sonar can assign blame.
GIT_SHALLOW_CLONE: false
jobs:
master-commit:
requires: [~pr, ~commit]
secrets:
- COVERALLS_REPO_TOKEN
steps:
- build: mvn -B clean verify coveralls:report
elide-5-build:
requires: [~pr:elide-5.x, ~commit:elide-5.x]
secrets:
- COVERALLS_REPO_TOKEN
steps:
- build: mvn -B clean verify coveralls:report
elide-4-build:
requires: [~pr:elide-4.x, ~commit:elide-4.x]
secrets:
- COVERALLS_REPO_TOKEN
steps:
- build: mvn -B clean verify coveralls:report
release:
secrets:
- GPG_KEYNAME
- GPG_PASSPHRASE
- GPG_ENCPHRASE
- OSSRH_USER
- OSSRH_TOKEN
requires: [~tag, ~release]
steps:
- build: "screwdriver/scripts/build.sh"
- publish: "screwdriver/scripts/publish.sh"