forked from palantir/gradle-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
30 lines (29 loc) · 733 Bytes
/
circle.yml
File metadata and controls
30 lines (29 loc) · 733 Bytes
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
version: 2
executorType: machine
stages:
build:
workDir: ~/gradle-docker
environment:
TERM: dumb
steps:
- type: checkout
- type: shell
shell: /bin/bash
command: ./gradlew --parallel -i build
- type: test-results-store
path: build/test-results
- type: deploy
shell: /bin/bash
command: ./gradlew -i bintrayUpload
- type: deploy
shell: /bin/bash
command: ./gradlew -i -Dgradle.publish.key=$GRADLE_KEY -Dgradle.publish.secret=$GRADLE_SECRET publishPlugins
workflows:
version: 2
build-and-deploy:
jobs:
- build:
filters:
# run on all branches and tags
tags:
only: /.*/