Fixing cleanup and settings.xml pipeline configuration to work correctly in ASF Jenkins.
Deferred wipeout was causing issues when invoked in early stages
Docker cleanup can't be done since the overall build is in docker container that uses the docker.sock from the host - it would attempt to erase itself.
withSettingsXmlId shared library method does imply usage of a prohibited groovy method, thus replacing with explicit configFileProvider and passing as withSettingsXmlFile goes around that part of code.
apache/incubator-kie-issues#667
Fixing cleanup and settings.xml pipeline configuration to work correctly in ASF Jenkins.
Complete list: apache/incubator-kie-kogito-pipelines#1113 apache/incubator-kie-kogito-runtimes#3272 apache/incubator-kie-kogito-apps#1909 apache/incubator-kie-kogito-examples#1820 apache/incubator-kie-drools#5572 apache/incubator-kie-optaplanner#3010 apache/incubator-kie-optaplanner-quickstarts#613 apache/incubator-kie-kogito-docs#514 apache/incubator-kie-docs#4531 apache/incubator-kie-benchmarks#273