in deploy-templates/JobProvisioner.groovy [273:299]
void createCleanUpVersionCandidateDBsPipeline(String pipelineName, String codebaseName, String stages,
String repositoryPath, String codebaseHistoryName, String deploymentMode, String cronSchedule) {
pipelineJob(pipelineName) {
concurrentBuild(false)
logRotator {
numToKeep(10)
}
triggers {
cron(cronSchedule)
}
definition {
cps {
script("@Library(['edp-library-pipelines']) _ \n\nBuild()")
sandbox(true)
}
parameters {
stringParam("STAGES", stages)
stringParam("CODEBASE_NAME", codebaseName)
stringParam("CODEBASE_HISTORY_NAME", codebaseHistoryName)
stringParam("REPOSITORY_PATH", repositoryPath)
stringParam("LOG_LEVEL", "INFO", "ERROR, WARN, INFO or DEBUG")
stringParam("DEPLOYMENT_MODE", deploymentMode)
}
}
}
}