You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2021/09/15 14:13:43 UTC
[brooklyn-server] branch master updated: try specifying a docker
registry to solve https://issues.apache.org/jira/browse/INFRA-22335
This is an automated email from the ASF dual-hosted git repository.
heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-server.git
The following commit(s) were added to refs/heads/master by this push:
new 86e27ed try specifying a docker registry to solve https://issues.apache.org/jira/browse/INFRA-22335
86e27ed is described below
commit 86e27edd18ce8f497f26722d57ae8796c0dd6cbd
Author: Alex Heneveld <al...@cloudsoftcorp.com>
AuthorDate: Wed Sep 15 15:13:16 2021 +0100
try specifying a docker registry to solve https://issues.apache.org/jira/browse/INFRA-22335
---
Jenkinsfile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Jenkinsfile b/Jenkinsfile
index 7fe54bb..4b5a814 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -32,6 +32,7 @@ node(label: 'ubuntu') {
def dockerTag = env.BUILD_TAG.replace('%2F', '-')
withEnv(["DOCKER_TAG=${dockerTag}"]) {
+ docker.withRegistry('https://registry.hub.docker.com') {
stage('Clone repository') {
checkout scm
}
@@ -48,6 +49,7 @@ node(label: 'ubuntu') {
sh 'mvn clean install -Duser.home=/var/maven -Duser.name=jenkins'
}
}
+ }
}
}