Bug: Pipeline log shows incomplete
Summary
When I run a pipeline, I found the pipeline logs can not show completed. as following, the pipeline already failed, but I don't know why through the logs.
Steps to reproduce
- create a project
- create a pipeline which command may cause errors, like following:
stages:
- get
job:
stage: get
script:
- BODY='comments one'
- DUPLICATE=`curl -s --header "PRIVATE-TOKEN:$TOKEN" "https://jihulab.com/api/v4/projects/22724/issues/1/notes" | grep "comment" |wc -l`
- echo result-$DUPLICATE
- when pipeline run completed, pipeline failed and no errors show
Example Project
What is the current bug behavior?
What is the expected correct behavior?
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
SaaS Platform
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)
Possible fixes
由 马翔 编辑于