forked from yahoo/elide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
screwdriver.yaml
74 lines (64 loc) · 1.7 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
cache:
pipeline: ["~/.m2"]
annotations:
screwdriver.cd/restrictPR: fork
shared:
annotations:
screwdriver.cd/cpu: TURBO
screwdriver.cd/ram: TURBO
environment:
#Fetches history so Sonar can assign blame.
GIT_SHALLOW_CLONE: false
jobs:
master-commit:
image: maven:3.8.2-openjdk-11
requires: [~pr, ~commit]
secrets:
- COVERALLS_REPO_TOKEN
steps:
- build: mvn -B clean verify coveralls:report
elide-6-build:
image: maven:3.8.2-openjdk-11
requires: [~pr:elide-6.x, ~commit:elide-6.x]
secrets:
- COVERALLS_REPO_TOKEN
steps:
- build: mvn -B clean verify coveralls:report
elide-5-build:
image: maven:3.6.3-jdk-8
requires: [~pr:elide-5.x, ~commit:elide-5.x]
secrets:
- COVERALLS_REPO_TOKEN
steps:
- build: mvn -B clean verify coveralls:report
elide-4-build:
image: maven:3.6.3-jdk-8
requires: [~pr:elide-4.x, ~commit:elide-4.x]
secrets:
- COVERALLS_REPO_TOKEN
steps:
- build: mvn -B clean verify coveralls:report
release-java11:
image: maven:3.8.2-openjdk-11
secrets:
- GPG_KEYNAME
- GPG_PASSPHRASE
- GPG_ENCPHRASE
- OSSRH_USER
- OSSRH_TOKEN
requires: [~tag:/^6/, ~release:/^6/]
steps:
- build: "screwdriver/scripts/build.sh"
- publish: "screwdriver/scripts/publish.sh"
release-java8:
image: maven:3.6.3-jdk-8
secrets:
- GPG_KEYNAME
- GPG_PASSPHRASE
- GPG_ENCPHRASE
- OSSRH_USER
- OSSRH_TOKEN
requires: [~tag:/^4|5/, ~release:/^4|5/]
steps:
- build: "screwdriver/scripts/build.sh"
- publish: "screwdriver/scripts/publish.sh"