<commit_before>#!/bin/bash -x

export RAILS_ENV=test

bundle install --path "${HOME}/bundles/${JOB_NAME}"

# DELETE STATIC SYMLINKS AND RECONNECT...
for dir in images javascript templates stylesheets; do
  rm /var/lib/jenkins/jobs/Calendars/workspace/public/$dir
  ln -s /var/lib/jenkins/jobs/Static/workspace/public/$dir /var/lib/jenkins/jobs/Calendars/workspace/public/$dir
done

bundle exec rake stats
bundle exec rake ci:setup:testunit test<commit_msg>Update jenkins.sh to make webkit_server work correctly in tests<commit_after>#!/bin/bash -x

export RAILS_ENV=test

bundle install --path "${HOME}/bundles/${JOB_NAME}"

export DISPLAY=:99
bundle exec rake stats
bundle exec rake ci:setup:testunit test
{'fraction_non_alphanumeric': 0.11614730878186968, 'fraction_numerical': 0.0028328611898017, 'mean_word_length': 4.991525423728813, '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': '6829972', 'n_tokens_mistral': 251, 'n_tokens_neox': 242, 'n_words': 63}