Eclipse LSP4Jakarta Github clone on CI fails with Warning: the ECDSA host key for 'github.com' differs from the key for the IP address '140.82.113.3'
Summary
Jenkins job for Eclipse LSP4Jakarta fails on GitHub clone:
Warning: the ECDSA host key for 'github.com' differs from the key for the IP address '140.82.113.3'
See https://ci.eclipse.org/lsp4jakarta/job/LSP4Jakarta%20Git%20Test/8/console
Updating known_hosts fails, since the filesystem seems to be read only.
Steps to reproduce
Using Jenkins pipeline script:
pipeline {
agent any
stages {
stage('Clone') {
steps {
dir('lsp4jakarta') {
git branch: "main",
credentialsId: 'github-bot-ssh',
url: 'git@github.com:eclipse/lsp4jakarta.git'
}
}
}
}
}
What is the current bug behavior?
Jenkins job is unable to clone repository
What is the expected correct behavior?
Jenkins job should be able to clone repository, create new tags, commits, etc.
Relevant logs and/or screenshots
https://ci.eclipse.org/lsp4jakarta/job/LSP4Jakarta%20Git%20Test/8/console
Priority
-
Urgent -
High -
Medium -
Low
Severity
-
Blocker -
Major -
Normal -
Low
Impact
(What is the impact of this issue? Is it blocking a release? Are there any time constraints?, for example: "We have a release tomorrow")
Blocking automatically tagging future releases.