Skip to content

Commit 65a4060

Browse files
authored
circleci context (#38)
1 parent fc7729e commit 65a4060

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

.circleci.settings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<servers>
44
<server>
55
<id>ossrh</id>
6-
<username>${env.OSSRH_USERNMAE}</username>
6+
<username>${env.OSSRH_USERNAME}</username>
77
<password>${env.OSSRH_PASSWORD}</password>
88
</server>
99
<server>

.circleci/config.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ jobs:
77
build:
88
docker:
99
- image: circleci/openjdk:8u171-jdk
10-
10+
1111
- image: redislabs/rejson:edge
1212
port: 6379:6379
13-
13+
1414
working_directory: ~/repo
1515

1616
environment:
@@ -34,19 +34,21 @@ jobs:
3434
paths:
3535
- ~/.m2
3636
key: v1-dependencies-{{ checksum "pom.xml" }}
37-
37+
3838
# run tests!
39-
- run: mvn integration-test
40-
- run: mvn cobertura:cobertura
41-
- run: bash <(curl -s https://codecov.io/bash) -t ${CODECOV_TOKEN}
42-
39+
- run: mvn integration-test
40+
- run: mvn cobertura:cobertura
41+
- run: bash <(curl -s https://codecov.io/bash) -t ${CODECOV_TOKEN}
42+
4343
- run: mvn -s .circleci.settings.xml -DskipTests deploy
44-
44+
4545
workflows:
4646
version: 2
4747
commit:
4848
jobs:
49-
- build
49+
- build:
50+
context:
51+
- common
5052
nightly:
5153
triggers:
5254
- schedule:
@@ -56,4 +58,6 @@ workflows:
5658
only:
5759
- master
5860
jobs:
59-
- build
61+
- build:
62+
context:
63+
- common

0 commit comments

Comments
 (0)