This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let jenkins = JenkinsService.initJenkinsApi(jenkin) | |
jenkins.copy_job( | |
templateJobName, | |
jobName, | |
(config) => { | |
config = config.replace('<concurrentBuild>false</concurrentBuild>', `<concurrentBuild>false</concurrentBuild>\n<customWorkspace>workspace/${templateJobName}</customWorkspace>`) | |
config = config.replace('{GYM_EXPORT_TEAM_ID}', `${appStoreAccount.teamId}`) | |
config = config.replace('{KEY_ID}', `${appStoreAccount.keyId}`) | |
config = config.replace('{ISSUER_ID}', `${appStoreAccount.issuerId}`) | |
config = config.replace('{KEY_CONTENT_BASE64}', `${Util.base64Text(appStoreAccount.apiKey)}`) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Load template data | |
templateData = loadThemeData() | |
if config.nil? | |
puts "Data is NIL stop here" | |
return | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ===================================================== | |
enum LogLevel: Int { | |
case Debug = 1, Info, Error | |
} | |
let log_level = LogLevel.Debug | |
protocol Loggable { | |
func log() |
NewerOlder