Revert to shadow 8.3.9 (#2107)
This commit is contained in:
parent
e4093f49f6
commit
19f0689aa1
|
|
@ -237,8 +237,8 @@ public class JmxScraperContainer extends GenericContainer<JmxScraperContainer> {
|
||||||
} else {
|
} else {
|
||||||
Path script = generateShellScript(cmd, config);
|
Path script = generateShellScript(cmd, config);
|
||||||
|
|
||||||
this.withCopyFileToContainer(MountableFile.forHostPath(script, 500), "/scraper.sh");
|
this.withCopyFileToContainer(MountableFile.forHostPath(script), "/scraper.sh");
|
||||||
this.withCommand("/scraper.sh");
|
this.withCommand("bash", "/scraper.sh");
|
||||||
}
|
}
|
||||||
|
|
||||||
logger().info("Starting scraper with command: " + String.join(" ", this.getCommandParts()));
|
logger().info("Starting scraper with command: " + String.join(" ", this.getCommandParts()));
|
||||||
|
|
@ -263,7 +263,7 @@ public class JmxScraperContainer extends GenericContainer<JmxScraperContainer> {
|
||||||
|
|
||||||
logger().info("Scraper executed with /scraper.sh shell script");
|
logger().info("Scraper executed with /scraper.sh shell script");
|
||||||
for (int i = 0; i < lines.size(); i++) {
|
for (int i = 0; i < lines.size(); i++) {
|
||||||
logger().info("/scrapper.sh:{} {}", i, lines.get(i));
|
logger().info("/scraper.sh:{} {}", i, lines.get(i));
|
||||||
}
|
}
|
||||||
return script;
|
return script;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -95,7 +95,7 @@ public class JmxScraper {
|
||||||
jmxScraper.start();
|
jmxScraper.start();
|
||||||
}
|
}
|
||||||
} catch (ConfigurationException e) {
|
} catch (ConfigurationException e) {
|
||||||
logger.log(Level.SEVERE, "invalid configuration ", e);
|
logger.log(Level.SEVERE, "invalid configuration: " + e.getMessage(), e);
|
||||||
System.exit(1);
|
System.exit(1);
|
||||||
} catch (InvalidArgumentException e) {
|
} catch (InvalidArgumentException e) {
|
||||||
logger.log(Level.SEVERE, e.getMessage(), e);
|
logger.log(Level.SEVERE, e.getMessage(), e);
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
pluginManagement {
|
pluginManagement {
|
||||||
plugins {
|
plugins {
|
||||||
id("com.gradleup.shadow") version "9.0.1"
|
id("com.gradleup.shadow") version "8.3.9"
|
||||||
id("io.github.gradle-nexus.publish-plugin") version "2.0.0"
|
id("io.github.gradle-nexus.publish-plugin") version "2.0.0"
|
||||||
id("com.gradle.develocity") version "4.1"
|
id("com.gradle.develocity") version "4.1"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue