Skip to content

Commit 301ab08

Browse files
authored
Added context for snapshot deploys (#2761)
* removing path to make circleci.settings.xml findable * test deployment just to make sure * adding fresh checkout and cache restore * fixing variable name * removed context * context * restore CI behaviour
1 parent e761c74 commit 301ab08

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

.circleci.settings.xml

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

.circleci/config.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ jobs:
3030
docker:
3131
- image: cimg/openjdk:8.0
3232

33-
working_directory: ~/repo
34-
3533
environment:
3634
JVM_OPTS: -Xmx3200m
3735
TERM: dumb
@@ -68,6 +66,11 @@ jobs:
6866
docker:
6967
- image: cimg/openjdk:8.0
7068
steps:
69+
- checkout
70+
- restore_cache:
71+
keys:
72+
- jedis-{{ checksum "pom.xml" }}
73+
- run: mvn dependency:go-offline
7174
- run: mvn -s .circleci.settings.xml -DskipTests deploy
7275

7376
on-integ-branches: &on-integ-branches
@@ -88,7 +91,8 @@ workflows:
8891
jobs:
8992
- build_and_deploy:
9093
<<: *on-integ-branches
91-
context: common
94+
context:
95+
- common
9296
requires:
9397
- build-linux-8-jdk
9498
- build-linux-8-jdk:

0 commit comments

Comments
 (0)