-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcircle.yml
More file actions
31 lines (25 loc) · 854 Bytes
/
circle.yml
File metadata and controls
31 lines (25 loc) · 854 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
31
machine:
java:
version:
oraclejdk6
dependencies:
override:
- ./gradlew classes testClasses
test:
override:
- ./gradlew check jar
post:
- 'find . -type f -name "*.xml" | grep "build/test-results" | xargs cp -t $CIRCLE_TEST_REPORTS/'
deployment:
snapshot:
branch: master
commands:
# Publish to internal artifactory for development
- ./gradlew publish -PsmartThingsUserName=$ARTIFACTORY_USERNAME -PsmartThingsPassword=$ARTIFACTORY_PASSWORD
release:
branch: 2.1.13.x
commands:
# Push to bintray for metrics-reporter-config library
- ./gradlew bintrayUpload
# Push to s3 for our provisioning scripts
- aws s3 cp build/libs/cassandra-datadog-$(cat version.txt).jar s3://smartthings-provisioning/packages/cassandra-datadog/${CIRCLE_BRANCH}/cassandra-datadog-$(cat version.txt).jar