Skip to content

Commit 381b600

Browse files
committed
chore(ci): Download mvn distribution from our proxy
1 parent 8a6b06e commit 381b600

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ 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
146149
- 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'"
147150
- export GRADLE_ARGS=" --build-cache --stacktrace --no-daemon --parallel --max-workers=$GRADLE_WORKERS"
148151
- *normalize_node_index

0 commit comments

Comments
 (0)