This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
abstract class CheckstyleReportAsCustomValueBuildService implements BuildService<CheckstyleReportAsCustomValueBuildService.Params>, OperationCompletionListener { | |
interface Params extends BuildServiceParameters { | |
ListProperty<FileSystemLocation> getReports() | |
Property<BuildScanExtension> getBuildScanApi() | |
} | |
@Override | |
void onFinish(FinishEvent finishEvent) { | |
if(finishEvent.getDescriptor().displayName.contains("checkstyle")){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
readonly MAX_RETRY=10 | |
readonly DELAY_BETWEEN_TRY_IN_SECONDS=10 | |
readonly DEPENDENCY_CHECK_COMMAND=$1 | |
readonly CONTAINER_RUN_COMMAND=$2 | |
# wait until a command succeeds | |
# | |
# Usage: waitUntilReady "<command arg1...argN>" |
NewerOlder