From 0c629151e4171533bd6b44cdadff231f8a2a4e08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Wed, 15 May 2019 13:29:09 +0200 Subject: [PATCH] Inject the MAVEN_MIRROR_URL in all builds --- prod.hosts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/prod.hosts b/prod.hosts index 626e684..14bdc21 100644 --- a/prod.hosts +++ b/prod.hosts @@ -73,3 +73,6 @@ openshift_master_cluster_public_hostname=openshift.itix.fr # Skip docker images check since it fails no matter what openshift_disable_check=docker_image_availability + +# Inject the MAVEN_MIRROR_URL in all builds +openshift_builddefaults_json='{"BuildDefaults":{"configuration":{"apiVersion":"v1","env":[{"name":"MAVEN_MIRROR_URL","value":"http://nexus.factory.svc.cluster.local:8081/repository/maven-all-public/"}],"kind":"BuildDefaultsConfig"}}}'