My project is set to Java 1.8 but pipeline always builds my project to Java 1.6.
My pipeline configuration image is maven:3.3.9-jdk-8.
Pipeline build always return the following errors:
[ERROR] bootstrap class path not set in conjunction with -source 1.6
./TAppWeb/src/main/java/tapp/cup/team/automation/objectaccess/TAppWebTest.java:[138,32] error: multi-catch statement is not supported in -source 1.6
[ERROR] (use -source 7 or higher to enable multi-catch statement)
./TAppWeb/src/main/java/tapp/cup/team/automation/objectaccess/TAppWebTest.java:[556,61] error: lambda expressions are not supported in -source 1.6
[ERROR] (use -source 8 or higher to enable lambda expressions)
./TAppWeb/src/main/java/tapp/cup/team/automation/objectaccess/TAppIOSTest.java:[93,32] error: multi-catch statement is not supported in -source 1.6
[ERROR] (use -source 7 or higher to enable multi-catch statement)
./TAppWeb/src/main/java/tapp/cup/team/automation/objectaccess/TAppAndroidTest.java:[95,32] error: multi-catch statement is not supported in -source 1.6
[ERROR] (use -source 7 or higher to enable multi-catch statement)