为什么我的GitLab CI管道不能拒绝我的合并请求?

时间:2019-11-14 07:25:47

标签: git docker gitlab gitlab-ci gitlab-ci-runner

由于IP更改,我需要在GitLab中重新注册CI-Runners。我以与以前相同的方式配置它们,并暂停了旧版本。触发正确的运行器是可行的,但是当尝试提取代码进行构建时,运行器将失败并显示以下信息:

fatal: Couldn't find remote ref refs/merge-requests/83/head
ERROR: Job failed: exit code 1

我检入了本地存储库,并且该引用存在,并且可以对其进行检出。

该如何解决此问题?


流道配置

[[runners]]                        
  name = "Maven Java 11 Runner" 
  url = "http://192.168.23.90"          
  token = "**********************"
  executor = "docker"         
  [runners.custom_build_dir]       
  [runners.docker]       
    tls_verify = false                  
    image = "maven-java-11:latest"
    privileged = false        
    disable_entrypoint_overwrite = false
    oom_kill_disable = false
    disable_cache = false               
    volumes = ["/cache"]       
    pull_policy = "never"     
    shm_size = 0                  
  [runners.cache]
    [runners.cache.s3]
    [runners.cache.gcs]

0 个答案:

没有答案