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

Need to loop twice #198

Merged
merged 1 commit into from
Jan 23, 2019
Merged

Need to loop twice #198

merged 1 commit into from
Jan 23, 2019

Conversation

stephenc
Copy link
Member

In the event that a directory contains both JENKINSFILE and Jenkinsfile. If we are looking for Jenkinsfile then without looping twice we would see JENKINSFILE first (because alpha sort puts uppercase before lowercase) and return the alert of mismatch... what we want to do is exhaustively search for the correct name and only in the event of no exact match should we check for alternative case variants

In the event that a directory contains both `JENKINSFILE` and `Jenkinsfile`. If we are looking for `Jenkinsfile` then without looping twice we would see `JENKINSFILE` first (because alpha sort puts uppercase before lowercase) and return the alert of mismatch... what we want to do is exhaustively search for the correct name and only in the event of no exact match should we check for alternative case variants
@rsandell rsandell merged commit bc2f1b4 into master Jan 23, 2019
@rsandell rsandell deleted the bug-i-think branch January 23, 2019 14:59
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

Successfully merging this pull request may close these issues.

2 participants