mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
updated nightly runs with try statement in email sending
This commit is contained in:
parent
0caed8f8c6
commit
c8df291d48
@ -37,6 +37,7 @@ Usage:
|
||||
|
||||
Our cron job has the following syntax:
|
||||
0 3 * * * BASH_ENV=~/.bashrc bash -l -c "*WHERE YOUR CVW IS MUST PUT FULL PATH*/cvw/bin/wrapper_nightly-runs.sh > *WHERE YOU WANT TO STORE LOG FILES/cron.log 2>&1"
|
||||
0 3 * * * BASH_ENV=~/.bashrc bash -l -c "*WHERE YOUR CVW IS MUST PUT FULL PATH*/cvw/bin/wrapper_nightly-runs.sh > *WHERE YOU WANT TO STORE LOG FILES/cron.log 2>&1"
|
||||
|
||||
This cronjob sources the .bashrc file and executes the wrapper script as a user.
|
||||
|
||||
@ -101,6 +102,8 @@ class FolderManager:
|
||||
These folders are:
|
||||
nightly-runs/repos/
|
||||
nightly-runs/results/
|
||||
nightly-runs/repos/
|
||||
nightly-runs/results/
|
||||
|
||||
Args:
|
||||
folders (list): A list of folder names to be created.
|
||||
@ -175,6 +178,7 @@ class TestRunner:
|
||||
|
||||
Args:
|
||||
folder: the "nightly-runs/repos/"
|
||||
folder: the "nightly-runs/repos/"
|
||||
|
||||
Returns:
|
||||
bool: True if the script is copied successfully, False otherwise.
|
||||
|
Loading…
Reference in New Issue
Block a user