void createHistoryExcerptorPipeline()

in deploy-templates/JobProvisioner.groovy [301:325]


void createHistoryExcerptorPipeline(String pipelineName, String codebaseName, String stages,
                                    String repositoryPath, String deploymentMode) {
    pipelineJob("${codebaseName}/${pipelineName}") {
        concurrentBuild(false)
        logRotator {
            numToKeep(10)
        }
        definition {
            cps {
                script("@Library(['edp-library-pipelines']) _ \n\nBuild()")
                sandbox(true)
            }
            parameters {
                stringParam("NAME_OF_TABLE", "", "Enter table name")
                stringParam("ID", "", "Enter UUID")
                stringParam("STAGES", stages)
                stringParam("CODEBASE_NAME", codebaseName)
                stringParam("REPOSITORY_PATH", repositoryPath)
                stringParam("LOG_LEVEL", "INFO", "ERROR, WARN, INFO or DEBUG")
                stringParam("DEPLOYMENT_MODE", deploymentMode)
            }

        }
    }
}