in deploy-templates/JobProvisioner.groovy [196:219]
void createReleaseDeletePipeline(String pipelineName, String codebaseName, String defaultBranch,
String stages, String repositoryPath, String deploymentMode) {
pipelineJob("${codebaseName}/${pipelineName}") {
concurrentBuild(false)
logRotator {
numToKeep(20)
}
definition {
cps {
script("@Library(['edp-library-pipelines']) _ \n\nBuild()")
sandbox(true)
}
parameters {
stringParam("STAGES", stages)
stringParam("CODEBASE_NAME", codebaseName)
stringParam("BRANCH", defaultBranch)
stringParam("REPOSITORY_PATH", repositoryPath)
stringParam("LOG_LEVEL", "INFO", "ERROR, WARN, INFO or DEBUG")
stringParam("DEPLOYMENT_MODE", deploymentMode)
}
}
}
}