<commit_before>#!/bin/bash

INSTANCE_PATH=$1 # where runs tomee
PACKAGE_PATH=$2 # where to find stuff to deploy
DEPLOY_PATH=$INSTANCE_PATH/webapps

# stop tomee
$INSTANCE_PATH/bin/shutdown.sh

sleep 6 # wait some time to let tomee finish shutdown

# delete webapps/war file
rm -f $INSTANCE_PATH/webapps/lirejarp.war
rm -rf $INSTANCE_PATH/webapps/lirejarp

# copy new war file
cp $PACKAGE_PATH $DEPLOY_PATH

# start tomee
$INSTANCE_PATH/bin/startup.sh<commit_msg>add nohup to deploy script for jenkins<commit_after>#!/bin/bash

INSTANCE_PATH=$1 # where runs tomee
PACKAGE_PATH=$2 # where to find stuff to deploy
DEPLOY_PATH=$INSTANCE_PATH/webapps

# stop tomee
$INSTANCE_PATH/bin/shutdown.sh

sleep 6 # wait some time to let tomee finish shutdown

# delete webapps/war file
rm -f $INSTANCE_PATH/webapps/lirejarp.war
rm -rf $INSTANCE_PATH/webapps/lirejarp

# copy new war file
cp $PACKAGE_PATH $DEPLOY_PATH

# start tomee
nohup $INSTANCE_PATH/bin/startup.sh &> $INSTANCE_PATH/logs/nohup.log
{'fraction_non_alphanumeric': 0.08906882591093117, 'fraction_numerical': 0.006072874493927126, 'mean_word_length': 5.142857142857143, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1547510', 'n_tokens_mistral': 370, 'n_tokens_neox': 378, 'n_words': 97}