in deploy-templates/JobProvisioner.groovy [221:245]
void createFormMigrationPipeline(String pipelineName, String codebaseName, String stages,
String repositoryPath, String deploymentMode) {
pipelineJob(pipelineName) {
concurrentBuild(false)
logRotator {
numToKeep(10)
}
definition {
cps {
script("@Library(['edp-library-pipelines']) _ \n\nBuild()")
sandbox(true)
}
parameters {
booleanParam("DELETE_INVALID_DATA", false)
booleanParam("DELETE_AFTER_MIGRATION", false)
stringParam("ADDITIONAL_KEY_PATTERNS", "")
stringParam("STAGES", stages)
stringParam("CODEBASE_NAME", codebaseName)
stringParam("REPOSITORY_PATH", repositoryPath)
stringParam("LOG_LEVEL", "INFO", "ERROR, WARN, INFO or DEBUG")
stringParam("DEPLOYMENT_MODE", deploymentMode)
}
}
}
}