Skip to content

Commit

Permalink
Cretae a log for build_compute.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidHuber-NOAA committed Feb 28, 2025
1 parent 50cb765 commit 9067a01
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sorc/build_compute.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ cd "${HOMEgfs}/sorc" || exit 1
# Delete the rocoto XML and database if they exist
rm -f "${build_xml}" "${build_db}" "${build_lock_db}"

# Give Jenkins something to capture
mkdir -p logs
touch logs/compute_build.log

{
echo "Sourcing global-workflow modules ..."
source "${HOMEgfs}/workflow/gw_setup.sh"

Expand Down Expand Up @@ -127,5 +132,6 @@ while [[ "${finished}" == "false" ]]; do
done

echo "All builds completed successfully!"
} 2>&1 | tee logs/compute_build.log

exit 0

0 comments on commit 9067a01

Please sign in to comment.