Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 9d121042 authored by Joze RIHTARSIC's avatar Joze RIHTARSIC
Browse files

Fix bamboo plan - logs fix

parent 84f2bf97
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
......@@ -27,9 +27,9 @@ function initializeVariables() {
# Function exports the logs to file and stop and clear containers
function stopAndClearTestContainers() {
echo "Save docker log to docker-file"
docker logs "${PLAN_PREFIX}" > smp-container.log 2>&1
docker compose -p "${PLAN_PREFIX}" logs > smp-containers.log 2>&1
echo "Clear containers and volumes"
docker-compose -p "${PLAN_PREFIX}" rm -s -f -v
docker compose -p "${PLAN_PREFIX}" rm -s -f -v
}
################################################################
......
......@@ -146,7 +146,7 @@ public final class DomUtils {
protected static void setConfigurationOption(TransformerFactory factory, String feature, boolean value) {
try {
factory.setFeature(feature, value);
} catch (TransformerConfigurationException e) {
} catch (UnsupportedOperationException | TransformerConfigurationException e) {
LOG.warn("TransformerFactory initialization error. The feature [{}] is not supported by current factory. The feature is ignored.", feature);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment