-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.gocd.yaml
39 lines (39 loc) · 1.06 KB
/
config.gocd.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
format_version: 5
pipelines:
spring-boot-helloworld-simple:
group: simple
materials:
spring-boot-hello-world:
git: https://github.com/arunvelsriram/spring-boot-helloworld.git
branch: master
stages:
- build:
jobs:
test:
tasks:
- exec:
command: ./gradlew
arguments:
- testCoverage
spring-boot-helloworld-docker:
group: docker
materials:
spring-boot-hello-world:
git: https://github.com/arunvelsriram/spring-boot-helloworld.git
branch: master
stages:
- build:
jobs:
test:
tasks:
- exec:
command: docker
arguments:
- run
- --rm
- -v
- "$PWD:/app"
- --entrypoint
- /app
- adoptopenjdk/openjdk11
- "./gradlew testCoverage"