Skip to content

Commit

Permalink
Merge pull request #101 from rlcee/ct_230525
Browse files Browse the repository at this point in the history
Ct 230525
  • Loading branch information
rlcee authored May 25, 2023
2 parents da290e4 + d2d95a5 commit 4542802
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions bin/github/jenkins_tests/mu2e-offline-build-test/job.sh
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ else

source /cvmfs/fermilab.opensciencegrid.org/products/common/etc/setups
setup mu2e
setup clang v5_0_1
setup clang v14_0_6c

# run clang-tidy
CLANG_TIDY_ARGS="-extra-arg=-isystem$CLANG_FQ_DIR/include/c++/v1 -p . -j 24"
Expand Down Expand Up @@ -339,28 +339,7 @@ EOM
sed -i '/Command execution time:/d' scons.log
sed -i '/SConscript:/d' scons.log

${CMS_BOT_DIR}/upload-job-logfiles gh-report.md ${WORKSPACE}/*.log > gist-link.txt 2> upload_logfile_error_response.txt

if [ $? -ne 0 ]; then
# do nothing for now, but maybe add an error message in future
echo "Couldn't upload logfiles..."

else
GIST_LINK=$( cat gist-link.txt )
cat >> "$WORKSPACE"/gh-report.md <<- EOM
Log files have been uploaded [here.](${GIST_LINK})
EOM

fi


cmsbot_report "$WORKSPACE/gh-report.md"

echo "[$(date)] cleaning up old gists"
${CMS_BOT_DIR}/cleanup-old-gists

wait;
exit $BUILDTEST_OUTCOME;

0 comments on commit 4542802

Please sign in to comment.