From 2c4f04abdedffd2f9d05838808177a761a968902 Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Fri, 15 Feb 2019 15:27:25 -0800 Subject: [PATCH] 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 --- jjb/global/releng-macros.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.16.6