Skip to content

Commit eca9f43

Browse files
committed
chore(ci): Download mvn distribution from our proxy
1 parent dded41c commit eca9f43

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.gitlab-ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,10 @@ default:
143143
mavenRepositoryProxy=$MAVEN_REPOSITORY_PROXY
144144
gradlePluginProxy=$GRADLE_PLUGIN_PROXY
145145
EOF
146+
- |
147+
# replace maven central part by MAVEN_REPOSITORY_PROXY in .mvn/wrapper/maven-wrapper.properties
148+
sed -i "s|https://repo.maven.apache.org/maven2|$MAVEN_REPOSITORY_PROXY|g" .mvn/wrapper/maven-wrapper.properties
149+
cat .mvn/wrapper/maven-wrapper.properties
146150
- export GRADLE_OPTS="-Dorg.gradle.jvmargs='-Xmx$GRADLE_MEM -Xms$GRADLE_MEM -XX:ErrorFile=/tmp/hs_err_pid%p.log -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp'"
147151
- export GRADLE_ARGS=" --build-cache --stacktrace --no-daemon --parallel --max-workers=$GRADLE_WORKERS"
148152
- *normalize_node_index

0 commit comments

Comments
 (0)