Codenarc fails in Travis CI

I’m working on a simple Spring Boot application, and despite the build passing successfully in my local development environment, it fails due to a Codenarc error in Travis CI.

Travis log available, here. Has this been observed before?

Do you happen to be building on Windows locally?

The violation is related to the name of src/main/groovy/devops/services/stashService.groovy – the class is called StashService (note the different capitalization).

1 Like

I’m using a Mac. Thanks for pointing out the discrepancy. Its upper case on my filesystem and Git doesn’t seem to be picking up the difference, hence why it continues to work on my machine.

Sorry for troubling you, great spot!

That was my second guess. No problem