|
@@ -131,6 +131,7 @@ public class SonarJavaImageBuildHandler extends AbstractHandler {
|
|
|
|
|
|
|
|
sb.append(line).append("\n");
|
|
sb.append(line).append("\n");
|
|
|
}
|
|
}
|
|
|
|
|
+ System.out.println(sb);
|
|
|
Files.write(dockerfile, sb.toString().getBytes(), StandardOpenOption.WRITE);
|
|
Files.write(dockerfile, sb.toString().getBytes(), StandardOpenOption.WRITE);
|
|
|
} catch (IOException e) {
|
|
} catch (IOException e) {
|
|
|
throw new PipelineException(HttpStatus.SC_SERVICE_UNAVAILABLE, PipelineException.DOCKERFILE_MODIFY_ERROR, e);
|
|
throw new PipelineException(HttpStatus.SC_SERVICE_UNAVAILABLE, PipelineException.DOCKERFILE_MODIFY_ERROR, e);
|