fixed readme and plugin

This commit is contained in:
jainish shah
2018-04-10 13:45:31 -07:00
parent 282473ba3a
commit ea27ba14c8
3 changed files with 42 additions and 33 deletions

View File

@@ -6,7 +6,7 @@ import org.slf4j.Logger
import java.util.concurrent.TimeUnit
jobs {
clean(cron: "0 * * * * ?") {
clean(interval: 60000, delay: 600000) {
def artifactoryServersCommonService = ctx.beanForType(ArtifactoryServersCommonService)
def artifactoryInactiveServerCleaner = new ArtifactoryInactiveServersCleaner(artifactoryServersCommonService, log)
artifactoryInactiveServerCleaner.cleanInactiveArtifactoryServers()