cp-ansible
cp-ansible copied to clipboard
Use jdk 17 as the default Java version
Description
This PR aims to migrate all scenarios using Java 8 to java 11 and Java 11 to Java 17. This change has to go in master branch of CP-Ansible. The scenarios cover the following Java x OS combinations: Centos7 - Java 11, Java 17 Centos8 - Java 17 Debian9 - Java 11, Java 17 Debian10 - Java 17 Ubuntu18 - Java 17 Ubuntu20 - Java 8, Java 17
Fixes # ANSIENG-1601
Type of change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [x] This change requires a documentation update
How Has This Been Tested?
This has been tested both locally as well as on jenkins jobs for all scenarios. Here is the result Report
Test Configuration:
Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my feature works
- [ ] Any dependent changes have been merged and published in downstream modules
- [x] Any variable changes have been validated to be backwards compatible