Skip to content

Commit c4d0624

Browse files
authored
maven wired (#315)
1 parent 818c578 commit c4d0624

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

.circleci.settings.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<servers>
33
<server>
44
<id>ossrh</id>
5-
<username>${env.OSSRH_USERNMAE}</username>
6-
<password>${env.OSSRH_PASSWORD}</password>
5+
<username>${env.OSSH_USERNAME}</username>
6+
<password>${env.OSSH_PASSWORD}</password>
77
</server>
88
<server>
99
<id>gpg.passphrase</id>

.circleci/config.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ jobs:
4040
keys:
4141
- spark-redis-{{ checksum "pom.xml" }}
4242

43-
- run: mvn dependency:go-offline
43+
- run: mvn dependency:go-offline
4444

4545
- save_cache:
4646
paths:
4747
- ~/.m2
4848
key: spark-redis-{{ checksum "pom.xml" }}
4949

50-
- run:
50+
- run:
5151
name: install Redis
5252
command: |
5353
sudo apt-get -y update
@@ -62,30 +62,31 @@ jobs:
6262
command: |
6363
export PATH=$PWD/redis-6.0.10/src:$PATH
6464
make test
65-
65+
6666
- run:
67-
name: switch scala to 2.12
67+
name: switch scala to 2.12
6868
command: |
6969
sleep 5s # let redis exit gracefully (we use kill, not kill -9 in makefile)
7070
ps aux | grep redis
7171
./dev/change-scala-version.sh 2.12 # switch to scala 2.12
72-
73-
- run:
74-
name: Run Test with scala 2.12
72+
73+
- run:
74+
name: Run Test with scala 2.12
7575
command: |
7676
export PATH=$PWD/redis-6.0.10/src:$PATH
7777
make test
78-
78+
7979
- early_return_for_forked_pull_requests
8080

81-
- run: bash <(curl -s https://codecov.io/bash) -t ${CODECOV_TOKEN}
82-
81+
- run: bash <(curl -s https://raw.githubusercontent.com/codecov/codecov-bash/master/codecov) -t ${CODECOV_TOKEN}
82+
8383
- run: mvn -s .circleci.settings.xml -DskipTests deploy
8484

8585
workflows:
8686
all-jdks:
8787
jobs:
8888
- build:
89+
context: common
8990
matrix:
9091
parameters:
9192
os: [linux-8-jdk]

0 commit comments

Comments
 (0)