我是 gitlab CI 的新手。
我的 .gitlab-ci.yml 文件是
stages:
- build
my_simple_job:
stage: build
script:
- echo "Hello, GitLab CI/CD!"
tags:
- my_tag
我尝试通过 gitlab-ci-local 激活 .gitlab-ci.yml ,它工作得很好。输出是:
Using fallback git user.email
Using fallback git user.name
parsing and downloads finished in 24 ms
my_simple_job starting shell (build)
my_simple_job $ echo "Hello, GitLab CI/CD!"
my_simple_job > Hello, GitLab CI/CD!
my_simple_job finished in 7.43 ms
PASS my_simple_job
pipeline finished in 223 ms
但是,在gitlab上,在执行.gitlab-ci.yml文件之前,该过程似乎失败了。
(为了搜索引擎友好,这是我的gitlab的日志)
Running with gitlab-runner 14.4.0 (44444444)
on dddddddddddddd-mmm-mmmm.local 7777777-N
Preparing the "shell" executor
Using Shell executor...
Preparing environment
Running on dddddddddddddd-mmm-mmm.local...
Getting source from Git repository
Fetching changes with git depth set to 50...
Reinitialized existing Git repository in /Users/dddddddddddddd/builds/7777777-N/0/dddd/dddd/.git/
Cleaning up project directory and file based variables
ERROR: Job failed: exit status 1
我没有管理员权限(是的,这是我公司分配给我的任务)。我怎样才能找出或解决问题?