Re: Enforcer fails on Jenkins CI server but passes locally what am I doing wrong?

2018-10-04 Thread Mez Pahlan
Ahhh.. ok. Yup that did work. Thanks Jesse! For anyone else. I then investigated why it worked in a shell and not in the IDE. Turns out I forgot that I had set my IDE to use the current LTS Jenkins version as a Maven profile setting (using ~/.m2/settings.xml). So all my IDE runs were using

Re: Enforcer fails on Jenkins CI server but passes locally what am I doing wrong?

2018-10-04 Thread Jesse Glick
On Thu, Oct 4, 2018 at 3:20 PM Mez Pahlan wrote: > Notice that the parent POM has a Java level set to 8 so I remove my java > version tag from my POM You must be using an old version of the parent POM. All recent versions treat `java.level` as mandatory (no default). > I'm running these

Enforcer fails on Jenkins CI server but passes locally what am I doing wrong?

2018-10-04 Thread Mez Pahlan
Hello all As it says in the title. I'm working with a PR for the HockeyApp Plugin and after making some changes I dutifully run all tests locally using the verify maven goal before I push changes to the PR. All checks pass I'm happy, computer is happy, I push. BAM! it fails on the Jenkins CI