action #60278
closed
circleci fails on personal fork when branch "gh-pages" does not exist
Added by okurz about 5 years ago.
Updated about 5 years ago.
Category:
Regressions/Crashes
Description
Observation¶
Seems like the circleci job "build-docs" fails when the branch "gh-pages" does not exist, e.g. in personal forks, e.g. as in https://app.circleci.com/jobs/github/okurz/openQA/4 where I do not see the need to test anything related to "gh-pages" when.
Suggestion¶
Maybe we should just trigger the job "build-docs" on the branch gh-pages or when it exists?
- Status changed from New to In Progress
- Assignee set to andriinikitin
- Target version set to Current Sprint
- Difficulty set to easy
Just a note that this problem existed in travis days as well.
I will just let the script do nothing if the branch doesn't exists.
okurz wrote:
Maybe we should just trigger the job "build-docs" on the branch gh-pages or when it exists?
The problem is that the job must be triggered on every branch and then must work with gh-pages. And I don't think CI is smart enough to provide such filter.
So the script will just finish if it cannot proceed and let the job finish.
PR had been merged 8 days ago. Unless you want to do more for it I suggest to resolve this ticket.
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Also available in: Atom
PDF