def setConfig()

in src/com/epam/edp/Codebase.groovy [47:55]


    def setConfig(gitAutouser, gitHost, gitSshPort, gitProject, repositoryRelativePath) {
        def componentSettings = null
        componentSettings = job.getCodebaseFromAdminConsole(this.name)
        if (componentSettings == null)
            script.error("[JENKINS][ERROR] Component ${this.name} has not been found in configuration")
        componentSettings.cloneUrl = "ssh://${gitAutouser}@${gitHost}:${gitSshPort}${repositoryRelativePath}"
        this.config = componentSettings
        this.gitServerCrName = componentSettings.gitServer
    }