<commit_before>import jobs.generation.Utilities;

def project = GithubProject

def testProfiles = [
	'net40,portable7,portable47,portable78,portable259,vs',
	'cambridge_suite,smoke_only',
	'qa_suite,smoke_only'
]

// TODO: run both debug/release builds
	
testProfiles.each { profile ->
	[true, false].each { isPullRequest ->
	        
        def newJobName = Utilities.getFullJobName(project, profile, isPullRequest)
        def buildString = """call appveyor-build.cmd ${profile}"""

        def newJob = job(newJobName) {
            label('windows')
            steps {
                batchFile(buildString)
            }
        }
        
        Utilities.simpleInnerLoopJobSetup(newJob, project, isPullRequest, "Jenkins ${profile}")
        Utilities.addXUnitDotNETResults(newJob, 'tests/TestResults/**/*_Xml.xml')
    }
}<commit_msg>Archieving Release artifacts<commit_after>import jobs.generation.Utilities;

def project = GithubProject

def testProfiles = [
	'net40,portable7,portable47,portable78,portable259,vs',
	'cambridge_suite,smoke_only',
	'qa_suite,smoke_only'
]

// TODO: run both debug/release builds
	
testProfiles.each { profile ->
	[true, false].each { isPullRequest ->
	        
        def newJobName = Utilities.getFullJobName(project, profile, isPullRequest)
        def buildString = """call appveyor-build.cmd ${profile}"""

        def newJob = job(newJobName) {
            label('windows')
            steps {
                batchFile(buildString)
            }
        }
        
        Utilities.simpleInnerLoopJobSetup(newJob, project, isPullRequest, "Jenkins ${profile}")
        Utilities.addXUnitDotNETResults(newJob, 'tests/TestResults/**/*_Xml.xml')
        Utilities.addArchival(newJob, "Release/**")
    }
}
{'fraction_non_alphanumeric': 0.11580148317170565, 'fraction_numerical': 0.011409013120365089, 'mean_word_length': 3.013729977116705, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2519398', 'n_tokens_mistral': 566, 'n_tokens_neox': 537, 'n_words': 90}