Project

Profile

Help

Task #5010

closed

Travis fails when PRs are rebased and merged

Added by daviddavis almost 5 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Plugin Template
Sprint:
Quarter:

Description

Failing Travis:

https://travis-ci.com/pulp/pulpcore/jobs/210048379#L904-L908

The cause is that sometimes HEAD^2 is undefined. Try this in pulpcore and you'll get the same problem:

git checkout 2ccdc7dc0135a62d37854caecf664232f9303dfe
git show HEAD^2 -s

We probably shouldn't rely on HEAD^2. Rather, it looks like Travis has a TRAVIS_COMMIT_MESSAGE we could maybe use.

Also available in: Atom PDF