Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Commit ranges to last successful job OR last ancestor commit #22

Open
justinmakaila opened this issue May 2, 2019 · 0 comments

Comments

@justinmakaila
Copy link

I'm currently looking into expanding the functionality of this orb to include an opt-in flag to go back to the last successful job.

This is the use case:
A developer files a PR against a branch. The job is executed to return commit A (first commit) and commit B (most recent commit). Tests are executed against the changes between commit A and commit B. The tests fail and abort (leaving some package tests un-executed). The developer makes changes to the affected tests and pushes commit C.

Currently, the orb will return the compare URL for B and C. The proposed functionality will check for the outcome on the job result from the CircleCI API, decrementing and doing another iteration in the failed, canceled, and timedout case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant