<commit_before>/**

  Post build tasks

  Parameters:
  * cfg jplConfig class object

  cfg usage:
  * targetPlatform

*/
def call() {

    timestamps {
        ansiColor('xterm') {
            script {
                if (currentBuild.result == null) {
                    resultStatus = 'SUCCESS'
                }
                else {
                    resultStatus = currentBuild.result
                }
                if (env.BRANCH_NAME == null) {
                    branchInfo = ""
                }
                else {
                    branchInfo = " (branch ${env.BRANCH_NAME})"
                }

                // Open JIRA tickets on 'NOT SUCCESS build'
                if ((resultStatus != 'SUCCESS') && (cfg.jiraProjectKey != '')) {
                    def issueData = [fields: [ // id or key must present for project.
                                              project: [key: cfg.jiraProject.data['name'].toString()],<commit_msg>Test post build<commit_after>/**

  Post build tasks

  Parameters:
  * cfg jplConfig class object

  cfg usage:
  * targetPlatform

*/
def call() {

    timestamps {
        ansiColor('xterm') {
            echo "post build"
            script {
                if (currentBuild.result == null) {
                    resultStatus = 'SUCCESS'
                }
                else {
                    resultStatus = currentBuild.result
                }
                if (env.BRANCH_NAME == null) {
                    branchInfo = ""
                }
                else {
                    branchInfo = " (branch ${env.BRANCH_NAME})"
                }

                // Open JIRA tickets on 'NOT SUCCESS build'
                if ((resultStatus != 'SUCCESS') && (cfg.jiraProjectKey != '')) {
                    def issueData = [fields: [ // id or key must present for project.
                                              project: [key: cfg.jiraProject.data['name'].toString()],
{'fraction_non_alphanumeric': 0.10337768679631525, 'fraction_numerical': 0.0, 'mean_word_length': 1.1342794759825328, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2726803', 'n_tokens_mistral': 506, 'n_tokens_neox': 465, 'n_words': 118}