Hardcode Jenkins Credential ID for Git Clones 48/67048/1
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Fri, 15 Feb 2019 23:27:25 +0000 (15:27 -0800)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Fri, 15 Feb 2019 23:27:25 +0000 (15:27 -0800)
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 <tbramwell@linuxfoundation.org>
jjb/global/releng-macros.yaml

index 2f156cd..8825677 100644 (file)
     name: git-scm
     scm:
       - git: &git-scm-defaults
-          credentials-id: '$SSH_CREDENTIAL_ID'
+          credentials-id: 'd42411ac011ad6f3dd2e1fa34eaa5d87f910eb2e'
           url: '$GIT_BASE'
           branches:
             - 'origin/$BRANCH'
     name: git-scm-with-submodules
     scm:
       - git:
-          credentials-id: '$SSH_CREDENTIAL_ID'
+          credentials-id: 'd42411ac011ad6f3dd2e1fa34eaa5d87f910eb2e'
           url: '$GIT_BASE'
           refspec: ''
           branches: