pipelineJob('Automation/DevOps/artifactory-repository-clean') { description('Automation clean old artifacts on Artifactory CPP (Conan)') logRotator { numToKeep(100) artifactNumToKeep(100) } properties { disableConcurrentBuilds() pipelineTriggers { triggers { cron { spec('H 3 * * *') } } } } definition { cpsScm { scm { git { remote { url("${JENKINS_GIT_REPOSITORY_URL}/DevOps/jenkins-pipelines.git") credentials("${JENKINS_GIT_CREDENTIALS_HTTP}") } branch('master') } } scriptPath('pipelines/Automation/DevOps/artifactory_repository_clean.groovy') } } parameters { booleanParam { name('dryRun') defaultValue(false) description('Dry run for test remove artifacts') } } }