Skip to content

Commit 64dbeef

Browse files
authored
Update config.yml
1 parent d073838 commit 64dbeef

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.circleci/config.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,13 @@ install_deploysuite: &install_deploysuite
1111
git clone --branch v1.3 https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript
1212
cp ./../buildscript/master_deploy.sh .
1313
cp ./../buildscript/buildenv.sh .
14-
cp ./../buildscript/awsconfiguration.sh .
15-
14+
cp ./../buildscript/awsconfiguration.sh .
15+
16+
maven_configuration_v1: &maven_configuration_v1
17+
name: Configuring maven
18+
command: |
19+
sudo sed -i '/<mirror>/,/<\/mirror>/d' /opt/apache-maven/conf/settings.xml
20+
1621
build_steps: &build_steps
1722
# Initialization1.
1823
- checkout
@@ -23,7 +28,8 @@ build_steps: &build_steps
2328
sudo apt update
2429
sudo apt install jq
2530
sudo apt install awscli
26-
- setup_remote_docker
31+
- setup_remote_docker
32+
- run: *maven_configuration_v1
2733
- restore_cache:
2834
key: ap-review-microservice-{{ checksum "~/project/service/pom.xml" }}
2935
- run: mvn -f ~/project/service/pom.xml dependency:go-offline

0 commit comments

Comments
 (0)