Skip to content

Commit

Permalink
corrected path to error.log file in sorc/logs to logs
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcguinness committed Mar 15, 2024
1 parent 47d8d6a commit 4e48762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pipeline {
sh(script: "${build_args}")
} catch (Exception e) {
echo "Failed to build the system: ${e.getMessage()}"
if (fileExists('sorc/logs/error.logs')) {
if (fileExists('logs/error.logs')) {
def error_logs = sh(script: "cat logs/error.logs", returnStdout: true).trim()
try {
pullRequest.comment("Build failed on on ${Machine}\n\nError logs:\n\n${error_logs}")
Expand Down

0 comments on commit 4e48762

Please sign in to comment.