-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathci.gocd.yaml
41 lines (41 loc) · 1.13 KB
/
ci.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
40
41
pipelines:
swagger-compose:
group: swagger
label_template: "${git[:8]}"
materials:
git:
git: [email protected]:ai-traders/swagger-composer.git
branch: master
stages:
- build:
clean_workspace: true
jobs:
build:
resources:
- docker
- small
artifacts:
- build:
source: "build/libs/swagger-composer-*.jar"
destination: build
tasks:
- exec:
command: ide
arguments:
- "gradle build test fatJar"
- release:
clean_workspace: true
secure_variables:
GITHUB_TOKEN: "AES:+QBztHVft9PmbwLLgpXvhA==:QHWQ+Ya2aJF2HoYo2G6LGlb2thWekhXiO626YKcEfeCw0IH7ornkOf7F91+RetOY"
approval:
type: manual
jobs:
github:
resources:
- docker
- small
tasks:
- exec:
command: bash
arguments:
- ./release.sh