没有在 SCM 配置或者插件中的 Git 存储库配置错误 jenkins

发布时间 2023-11-03 15:24:45作者: 秦瑞It行程实录
  • 已返回默认值
  • 没有在 SCM 配置或者插件中的 Git 存储库配置错误
  • 选项"使用仓库"设置为: "http://192.168.18.142/kmyl/km-manage.git"
  • 请检查配置
pipeline{
    agent any
    stages {
        stage('Checkout') {
            steps{
                git credentialsId: '    a6d815d8-2327-9c66-f45facb5a', url: 'http://192.168.19./xxxxl/image-text-inquiry-ui.git', branch:'wj'
                echo '---This is a Checkout step---'
            }
        }
        stage('Test') {
            steps{
                echo 'This is a test step'
            }
        }
        stage('Deploy') {
            steps{
                echo 'This is a deploy step'
            }
        }
    }
}