remove sensitive information from logging, add mocking for future testing

master
Josha von Gizycki 3 weeks ago
parent 2be1af365d
commit dbb10b6e13

@ -85,6 +85,12 @@
<artifactId>kotlin-test-junit5</artifactId> <artifactId>kotlin-test-junit5</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency>
<groupId>io.mockk</groupId>
<artifactId>mockk-jvm</artifactId>
<version>1.14.5</version>
<scope>test</scope>
</dependency>
</dependencies> </dependencies>
<build> <build>

@ -23,7 +23,7 @@ class ScriptRunner(
val config = builds.buildConfig(buildId) val config = builds.buildConfig(buildId)
val logFile = builds.createLogFile(buildId) val logFile = builds.createLogFile(buildId)
logger.info("preparing process for build $buildId with config $config") logger.info("preparing process for build $buildId")
logger.info("log file: ${logFile.backingFile.absolutePath}") logger.info("log file: ${logFile.backingFile.absolutePath}")
val ctx = BuildContext( val ctx = BuildContext(

Loading…
Cancel
Save