From: Trevor Bramwell Date: Fri, 15 Feb 2019 23:27:25 +0000 (-0800) Subject: Hardcode Jenkins Credential ID for Git Clones X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F48%2F67048%2F1;p=releng.git Hardcode Jenkins Credential ID for Git Clones Though these aren't needed, as almost all clones are over HTTPs, jobs still complain the SSH_CREDENTIAL_ID is not set. Instead of updating all use of 'git-scm', and 'ssh-agent-wrapper', these are hard coded for now. Change-Id: If4402ac570f6dd412938d392c20ad434c818dc9a Signed-off-by: Trevor Bramwell --- diff --git a/jjb/global/releng-macros.yaml b/jjb/global/releng-macros.yaml index 2f156cdb3..882567734 100644 --- a/jjb/global/releng-macros.yaml +++ b/jjb/global/releng-macros.yaml @@ -101,7 +101,7 @@ name: git-scm scm: - git: &git-scm-defaults - credentials-id: '$SSH_CREDENTIAL_ID' + credentials-id: 'd42411ac011ad6f3dd2e1fa34eaa5d87f910eb2e' url: '$GIT_BASE' branches: - 'origin/$BRANCH' @@ -136,7 +136,7 @@ name: git-scm-with-submodules scm: - git: - credentials-id: '$SSH_CREDENTIAL_ID' + credentials-id: 'd42411ac011ad6f3dd2e1fa34eaa5d87f910eb2e' url: '$GIT_BASE' refspec: '' branches: