Require Jenkins 2.479.3 and Jakarta EE 9#231
Conversation
8d1b84a to
3d8dfb5
Compare
|
@stuartrowe Kindly requesting a review. |
|
@strangelookingnerd I'm not a maintainer of this plugin so I don't think I'm qualified to review it. @skumar7322 would be the best to review it. |
7395d8f to
b60493d
Compare
|
Hi @strangelookingnerd thanks for creating this PR. |
|
I will run our test suite for this PR. |
Resolve the folder properties used in P4Plugin for FreeStyle, Pipeline and MultiBranch project configuration.
Any results? |
|
Hi @rantoniuk, Apologies for the delayed follow-up. The commit 9a7e8e8 is currently causing test failures. Some of the changes from this PR were already merged into master after the PR was closed, which has resulted in conflicts. Could you please resolve the conflicts in this PR? Once that's done, I'll prioritize reviewing and working on it. Thanks! |
# Conflicts: # pom.xml # src/main/java/org/jenkinsci/plugins/p4/browsers/FishEyeBrowser.java # src/main/java/org/jenkinsci/plugins/p4/browsers/OpenGrokBrowser.java # src/main/java/org/jenkinsci/plugins/p4/browsers/P4WebBrowser.java # src/main/java/org/jenkinsci/plugins/p4/browsers/SwarmBrowser.java # src/main/java/org/jenkinsci/plugins/p4/client/TempClientHelper.java # src/main/java/org/jenkinsci/plugins/p4/credentials/P4PasswordImpl.java # src/main/java/org/jenkinsci/plugins/p4/credentials/P4TicketImpl.java # src/main/java/org/jenkinsci/plugins/p4/email/P4UserProperty.java # src/main/java/org/jenkinsci/plugins/p4/review/ReviewAction.java # src/main/java/org/jenkinsci/plugins/p4/swarmAPI/SwarmQueryAction.java # src/main/java/org/jenkinsci/plugins/p4/tagging/TagAction.java # src/main/java/org/jenkinsci/plugins/p4/tasks/PollTask.java # src/main/java/org/jenkinsci/plugins/p4/trigger/P4Hook.java
|
Conflicts resolved. Tests ran fine locally, waiting what CI has to say. |
|
The commit 9a7e8e8 is currently causing test failures. The fix is to exclude commons-lang3 from the p4java dependency, as it is being pulled in transitively. With that fix in place, I'm happy to merge this change into master. Could you please move commit b60493d into a separate PR and keep this PR focused on the dependency update only? I can review the other change independently in the new PR as there are lots of file. Thanks! |
Mind sharing these test results? I was not able to reproduce any failures locally. I tried excluding the dependency, but have not seen any change in behavior. That's why I am asking.
|
|
my bad. This is enforcer failure not a test failure. |
I can also not reproduce this. The maven failure does also make me think, that this is not my PR being build either. In my changes you can see I do use version |
This is because the build run only on the commit 9a7e8e8 I have updated the Jenkinsfile to run the tests using JDK 17. These changes were taken from your PR, so the Jenkins CI checks should now run successfully for this PR as well. Could you please resolve the merge conflicts so we can proceed with the review and merge? Thank you! |
# Conflicts: # Jenkinsfile # Jenkinsfile-integ
|
While the tests run fine locally, they seem to be flaky on ci. I can see similar test failures on the master branch as well. I can only hope that fb55a0b fixes it by not running tests in parallel which I assume is the root cause. |
|
@strangelookingnerd I see the CI is still failing... any thoughts? |
|
I merged |
|
I see a compilation error:
|
# Conflicts: # Jenkinsfile # pom.xml # src/test/java/org/jenkinsci/plugins/p4/SimpleTestServer.java
3c07838 to
a099ec4
Compare
|
Build succeeded. Finally 🎉 |
|
"This branch has conflicts that must be resolved" 🐙 |
Require Jenkins 2.479.3 and Jakarta EE 9
Jenkins 2.479.3 provides Jakarta EE 9, Eclipse Jetty 12, Spring Security 6, and Java 17.
Testing done
mvn clean verifySubmitter checklist