<commit_before>#!/bin/bash
#This is a jenkins script
export remote_command="/usr/bin/ssh -i /var/lib/jenkins/.ssh/id_rsa <EMAIL> "

$remote_command "cd /opt/infrastructure/docker/images/era/era && /usr/bin/sudo git pull origin master" &&\
$remote_command "/usr/bin/sudo docker build -t era /opt/infrastructure/docker/images/era"
<commit_msg>Update to build era on jenkins<commit_after>#!/bin/bash
#This is a jenkins script

cd /opt/infrastructure/docker/images/era/era && /usr/bin/sudo git pull origin master &&\
/usr/bin/sudo docker build -t era /opt/infrastructure/docker/images/era &&\
/usr/bin/sudo docker save era /tmp/era.tar &&\
aws s3 cp /tmp/era.tar s3://eha-docker-repo/era.tar &&\
rm /tmp/era.tar

{'fraction_non_alphanumeric': 0.15677966101694915, 'fraction_numerical': 0.002824858757062147, 'mean_word_length': 3.856164383561644, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '768618', 'n_tokens_mistral': 274, 'n_tokens_neox': 254, 'n_words': 62}