【发布时间】:2019-01-03 16:05:10
【问题描述】:
这是我的管道脚本:
pipeline {
agent any
stages {
stage('MVD python') {
steps {
git url: 'ssh://git@git.rocketsoftware.com:7999/lg6/mvdzos.git',
credentialsId: 'edawes',
branch: 'master'
sh 'ls -l'
}
}
}
}
只是尝试测试我是否可以访问回购但是我收到错误
从 ssh://git@git.rocketsoftware.com:7999/lg6/mvdzos.git 获取上游更改
git --version # timeout=10 git fetch --tags --progress ssh://git@git.rocketsoftware.com:7999/lg6/mvdzos.git +refs/heads/:refs/remotes/origin/ 错误:克隆远程 repo 'origin' 时出错 hudson.plugins.git.GitException:命令“git fetch --tags --progress ssh://git@git.rocketsoftware.com:7999/lg6/mvdzos.git +refs/heads/:refs/remotes/ origin/”返回状态码 128: 标准输出: stderr:主机密钥验证失败。 致命:无法从远程存储库读取。
除了我很确定我有明显的访问权限问题之外,还有什么问题?
【问题讨论】:
标签: git jenkins ssh bitbucket jenkins-pipeline