You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2021/04/14 16:09:05 UTC

[couchdb] 01/01: Add docker creds to CI run

This is an automated email from the ASF dual-hosted git repository.

wohali pushed a commit to branch jenkins-creds
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 30835f9ef6e5a3271270b87f1220952b79ff5967
Author: Joan Touzet <jo...@atypical.net>
AuthorDate: Wed Apr 14 12:08:36 2021 -0400

    Add docker creds to CI run
---
 build-aux/Jenkinsfile.pr | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/build-aux/Jenkinsfile.pr b/build-aux/Jenkinsfile.pr
index 46cda1d..f86a829 100644
--- a/build-aux/Jenkinsfile.pr
+++ b/build-aux/Jenkinsfile.pr
@@ -39,6 +39,7 @@ pipeline {
     GIT_COMMITTER_NAME = 'Jenkins User'
     GIT_COMMITTER_EMAIL = 'couchdb@apache.org'
     // Parameters for the matrix build
+    DOCKERHUB_CREDS = credentials('dockerhub_creds')
     DOCKER_IMAGE = 'apache/couchdbci-debian:buster-erlang-all'
     // https://github.com/jenkins-infra/jenkins.io/blob/master/Jenkinsfile#64
     // We need the jenkins user mapped inside of the image
@@ -69,6 +70,7 @@ pipeline {
           image "${DOCKER_IMAGE}"
           label 'docker'
           args "${DOCKER_ARGS}"
+          registryCredentialsId '${DOCKERHUB_CREDS}'
         }
       }
       options {