Skip to content

Commit 8fe385e

Browse files
committed
adding pact runner (10)
1 parent 284b1d4 commit 8fe385e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.circleci/config.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,16 @@ jobs:
77
steps:
88
- setup_remote_docker:
99
version: 20.10.14
10-
- run: ssh remote-docker \ git clone -b "$CIRCLE_BRANCH" "$CIRCLE_REPOSITORY_URL"
10+
- checkout
11+
- run:
12+
name: Copy source
13+
command: docker cp . /home/circleci/project
1114
- run:
1215
name: Run Pact Broker
1316
command: docker-compose up -d
1417
- run:
1518
name: Analyze on SonarCloud
16-
command: ssh remote-docker \ mvn verify sonar:sonar
19+
command: ssh remote-docker \ cd /home/circleci/project && mvn verify sonar:sonar
1720
- run:
1821
name: Run Pact Broker
1922
command: docker-compose down -d

0 commit comments

Comments
 (0)