in deploy-templates/JobProvisioner.groovy [247:271]
void createCleanUpPipeline(String pipelineName, String codebaseName, String stages,
String repositoryPath, String codebaseHistoryName, String deploymentMode) {
pipelineJob(pipelineName) {
concurrentBuild(false)
logRotator {
numToKeep(10)
}
definition {
cps {
script("@Library(['edp-library-pipelines']) _ \n\nCleanup()")
sandbox(true)
}
parameters {
booleanParam("DELETE_REGISTRY_REGULATIONS_GERRIT_REPOSITORY", false, "If checked, registry-regulations repository will be recreated from empty template")
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)
}
}
}
}