<commit_before><commit_msg>Job DSL added for grails build based upon example file<commit_after>import groovy.json.JsonSlurper

String basePath = 'grails_jenkins_job_dsl_sample'
String repo = 'marhan/grails_jenkins_job_dsl_sample'

folder(basePath) {
    description 'This example shows basic folder/job creation.'
}

job("$basePath/grails_build") {
    scm {
        github repo
    }
    triggers {
        scm 'H/5 * * * *'
    }
    steps {
        grails {
            useWrapper true
            targets(['test-app', 'war'])
        }
    }
}

{'fraction_non_alphanumeric': 0.10218978102189781, 'fraction_numerical': 0.0018248175182481751, 'mean_word_length': 2.611842105263158, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '2058825', 'n_tokens_mistral': 184, 'n_tokens_neox': 180, 'n_words': 38}