<commit_before>// Job Parameters
def gitRepoUrl           = git_repo_url
def gitBranch            = sha1
def gitRepoCredentials   = git_repo_credentials

// Job constants

// TODO: move to library
def DB_SCRIPTS = [
  'setup/db/db/',
  'setup/db/create-*.sql',
  'setup/db/templates*.sql',
  'developer/developer-prefill.sql'
]

// TODO: move to library
def TEMPLATE_SCRIPTS = [
  'scripts/storage/secondary/'
]

// TODO: move to library
def MARVIN_SCRIPTS = [
  'test/integration/',
  'tools/travis/xunit-reader.py'
]

node('executor') {
  checkout scm: [$class: 'GitSCM', branches:          [[name: gitBranch]],
                                   userRemoteConfigs: [[url:  gitRepoUrl, credentialsId: gitRepoCredentials]]]<commit_msg>Add git refspecs to pull PRs<commit_after>// Job Parameters
def gitRepoUrl           = git_repo_url
def gitBranch            = sha1
def gitRepoCredentials   = git_repo_credentials

// Job constants

// TODO: move to library
def DB_SCRIPTS = [
  'setup/db/db/',
  'setup/db/create-*.sql',
  'setup/db/templates*.sql',
  'developer/developer-prefill.sql'
]

// TODO: move to library
def TEMPLATE_SCRIPTS = [
  'scripts/storage/secondary/'
]

// TODO: move to library
def MARVIN_SCRIPTS = [
  'test/integration/',
  'tools/travis/xunit-reader.py'
]

node('executor') {
  checkout scm: [$class: 'GitSCM', branches:          [[name: gitBranch]],
                                   userRemoteConfigs: [[url:  gitRepoUrl,
                                                        credentialsId: gitRepoCredentials,
                                                        refspec: '+refs/pull/*:refs/remotes/origin/pr/* +refs/heads/*:refs/remotes/origin/*']]]
{'fraction_non_alphanumeric': 0.12997032640949555, 'fraction_numerical': 0.0011869436201780415, 'mean_word_length': 2.3058823529411763, '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': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3424749', 'n_tokens_mistral': 549, 'n_tokens_neox': 563, 'n_words': 111}