deploy-templates/templates/job-provisions-configmap-default.yaml [24:49]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    def folderName = "job-provisions"
    def ciFolderName = "ci"
    def folder = Jenkins.instance.getItem(folderName)
    if (folder == null) {
      folder = Jenkins.instance.createProject(Folder.class, folderName)
    }
    def ciFolder = folder.getItem(ciFolderName)
    if (ciFolder == null) {
      ciFolder = folder.createProject(Folder.class, ciFolderName)
    }
    def project = ciFolder.getItem(jobName)
    if (project == null) {
      project = ciFolder.createProject(FreeStyleProject, jobName)
    }
    project.getBuildersList().clear()
    executeDslScripts = new ExecuteDslScripts()
    executeDslScripts.setScriptText(scriptText)
    project.getBuildersList().add(executeDslScripts)
    def definitionList = [new StringParameterDefinition("NAME", ""),
    new StringParameterDefinition("TYPE", ""),
    new StringParameterDefinition("BUILD_TOOL", ""),
    new StringParameterDefinition("BRANCH", ""),
    new StringParameterDefinition("GIT_SERVER_CR_NAME", ""),
    new StringParameterDefinition("GIT_SERVER_CR_VERSION", ""),
    new StringParameterDefinition("GIT_CREDENTIALS_ID", ""),
    new StringParameterDefinition("REPOSITORY_PATH", ""),
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



deploy-templates/templates/job-provisions-configmap-registry-regulations.yaml [25:50]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    def folderName = "job-provisions"
    def ciFolderName = "ci"
    def folder = Jenkins.instance.getItem(folderName)
    if (folder == null) {
      folder = Jenkins.instance.createProject(Folder.class, folderName)
    }
    def ciFolder = folder.getItem(ciFolderName)
    if (ciFolder == null) {
      ciFolder = folder.createProject(Folder.class, ciFolderName)
    }
    def project = ciFolder.getItem(jobName)
    if (project == null) {
      project = ciFolder.createProject(FreeStyleProject, jobName)
    }
    project.getBuildersList().clear()
    executeDslScripts = new ExecuteDslScripts()
    executeDslScripts.setScriptText(scriptText)
    project.getBuildersList().add(executeDslScripts)
    def definitionList = [new StringParameterDefinition("NAME", ""),
    new StringParameterDefinition("TYPE", ""),
    new StringParameterDefinition("BUILD_TOOL", ""),
    new StringParameterDefinition("BRANCH", ""),
    new StringParameterDefinition("GIT_SERVER_CR_NAME", ""),
    new StringParameterDefinition("GIT_SERVER_CR_VERSION", ""),
    new StringParameterDefinition("GIT_CREDENTIALS_ID", ""),
    new StringParameterDefinition("REPOSITORY_PATH", ""),
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



